ArcObjects Library Reference  (System)    

IPropertySupport.Current Property

The object currently being used.

[Visual Basic 6.0]
Property Current(
    ByVal pUnk As Unknown _
) As Unknown
[Visual Basic .NET]
Public Function get_Current ( _
    ByVal pUnk As Object _
) As Object
[C#]
public object get_Current (
    object pUnk
);
[Java]
public Object getCurrent (
    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

 


Feedback Send feedback on this page