![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IP > IPropertySupport Interface > IPropertySupport.Current Property (ArcObjects .NET 10.5 SDK) |
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
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.