This document is archived and information here might be outdated. Recommended version. |
The number of segments.
[Visual Basic .NET] Public ReadOnly Property SegmentCount As Integer
[C#] public int SegmentCount {get;}
[C++]
HRESULT get_SegmentCount(
System.Int32* cSegments
);
[C++]
Parameters cSegments [out, retval]
cSegments is a parameter of type long*
Returns the number of Segments in the Segment Collection. The last Segment in the Segment Collection has an index equal to SegmentCount - 1.