Share via


AnimationController.GetTrackDescription(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the description for a track.

Definition

Visual Basic Public Function GetTrackDescription( _
    ByVal trackNumber As Integer _
) As TrackDescription
C# public TrackDescription GetTrackDescription(
    int trackNumber
);
C++ public:
TrackDescription GetTrackDescription(
    int trackNumber
);
JScript public function GetTrackDescription(
    trackNumber : int
) : TrackDescription;

Parameters

trackNumber System.Int32
Track identifier.

Return Value

Microsoft.DirectX.Direct3D.TrackDescription
A TrackDescription structure.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.