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


IAGAnimationType.AnimationObjectID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationType Interface > IAGAnimationType.AnimationObjectID Property
ArcGIS Developer Help

IAGAnimationType.AnimationObjectID Property

The ID (index) of the given object among those of its animation type.

[Visual Basic .NET]
Public Function get_AnimationObjectID ( _
    ByVal pContainer As IAGAnimationContainer, _
    ByVal pObject As Object _
) As Integer
[C#]
public int get_AnimationObjectID (
    IAGAnimationContainer pContainer,
    object pObject
);
[C++]
HRESULT get_AnimationObjectID(
  IAGAnimationContainer* pContainer,
  VARIANT pObject,
  System.Int32* pObjectID
);
[C++]
Parameters
pContainer [in]

pContainer is a parameter of type IAGAnimationContainer* pObject [in]
pObject is a parameter of type VARIANT pObjectID [out, retval]
pObjectID is a parameter of type long*

Product Availability

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

Remarks

This property returns the ID or index of an animation object among those of the same animation type. For example, if the object is a time layer in ArcMap, then AnimationObjectID will return the index of the object in the ArcMap TOC.

See Also

IAGAnimationType Interface