This document is archived and information here might be outdated.  Recommended version.


IPropertySupport.Current Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IPropertySupport.Current Property

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,
  LPUNKNOWN* currentObject
);
[C++]

Parameters pUnk [in] pUnk is a parameter of type LPUNKNOWN currentObject [out, retval] currentObject is a parameter of type LPUNKNOWN

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IPropertySupport Interface