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


IDynamicLayer2.ObjectById Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDynamicLayer2 Interface > IDynamicLayer2.ObjectById Property
ArcGIS Developer Help

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,
  IUnknown Pointer* 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 IUnknown*

Product Availability

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

See Also

IDynamicLayer2 Interface