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


IPropertySupport.Current Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IP > IPropertySupport Interface > IPropertySupport.Current Property
ArcGIS Developer Help

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,
  IUnknown Pointer* currentObject
);
[C++]
Parameters
pUnk [in]

pUnk is a parameter of type IUnknown currentObject [out, retval]
currentObject is a parameter of type IUnknown*

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