ArcObjects Library Reference  (Geometry)    

IGeometryBridge.QuerySegments Method

Returns references to some of the input segments.

[Visual Basic 6.0]
Sub QuerySegments(
    ByVal pSegmentCollection As ISegmentCollection, _
    ByVal Index As Long, _
    ByVal segments() As ISegment _
)
[Visual Basic .NET]
Public Sub QuerySegments ( _
    ByVal pSegmentCollection As ISegmentCollection, _
    ByVal Index As Integer, _
    ByRef segments As ISegment[] _
)
[C#]
public void QuerySegments (
    ISegmentCollection pSegmentCollection,
    int Index,
    ref ISegment[] segments
);
[Java]
public void querySegments (
    ISegmentCollection pSegmentCollection,
    int Index,
    ISegment[] segments
)
throws
    IOException,
    AutomationException
[C++]
HRESULT QuerySegments(
  ISegmentCollection* pSegmentCollection,
  long Index,
  Array* segments
);
[C++]

Parameters

pSegmentCollection [in]

  pSegmentCollection is a parameter of type ISegmentCollection

Index

  Index is a parameter of type long

segments [in, out]

  segments is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of ISegmentCollection::QuerySegments .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_QuerySegments_Example