ArcObjects Library Reference (Carto)  

IDynamicLayer2.ObjectById Property

Allow retrieval of the object with the given object ID.

[Visual Basic .NET]
Public Function get_ObjectById ( _
    ByVal ID As Integer, _
    ByVal ILayer As ILayer _
) As Object
[C#]
public object get_ObjectById (
    int ID,
    ILayer ILayer
);
[C++]
HRESULT get_ObjectById(
  long ID,
  ILayer* ILayer,
  LPUNKNOWN* ppObject
);
[C++]

Parameters

ID [in]   ID is a parameter of type long ILayer [in]

  ILayer is a parameter of type ILayer

ppObject [out, retval]   ppObject is a parameter of type LPUNKNOWN

Product Availability

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

See Also

IDynamicLayer2 Interface