ArcObjects Library Reference (Animation)  

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,
  long* 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