This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentCollection Interface > ISegmentCollection.QuerySegments Method (ArcObjects .NET 10.5 SDK) |
Returns references to some of the input segments. This method is intended for internal use only.
[Visual Basic .NET] Public Sub QuerySegments ( _ ByVal Index As Integer, _ ByVal Count As Integer, _ ByRef segments As ISegment _ )
[C#] public void QuerySegments ( int Index, int Count, ref ISegment segments );
[C++]
HRESULT QuerySegments(
long Index,
long Count,
ISegment** segments
);
[C++]
Parameters Index Index is a parameter of type long Count Count is a parameter of type long segments [out]
segments is a parameter of type ISegment
Queries a specified number (Count) of Segments starting at the given index into an array of Segments.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.