This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationType Interface > IAGAnimationType.AnimationObjectID Property (ArcObjects .NET 10.5 SDK) |
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
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.