This document is archived and information here might be outdated.  Recommended version.


ISegmentCollection.QuerySegments Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISegmentCollection.QuerySegments Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Queries a specified number (Count) of Segments starting at the given index into an array of Segments.

[C#]

When using C# you must use the IGeometryBridge interface to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

See Also

ISegmentCollection Interface