This document is archived and information here might be outdated. Recommended version. |
The object currently being used.
[Visual Basic .NET]
Public Function get_Current ( _
ByVal pUnk As Object _
) As Object
[C#]
public object get_Current (
object pUnk
);
[C++]
HRESULT get_Current(
LPUNKNOWN pUnk,
IUnknown Pointer* currentObject
);
[C++] Parameters pUnk [in]
pUnk is a parameter of type IUnknown currentObject [out, retval]
currentObject is a parameter of type IUnknown*
Current will return you the current object of the specified type. For instance, I may ask a CircleElement if it supports a Color object. If it does, then I can use Current to get the Color object currently applied to my CircleElement.