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


ISegmentID.SetIDs Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

ISegmentID.SetIDs Method

Set the IDs on the segment's endpoints.

[Visual Basic .NET]
Public Sub SetIDs ( _
    ByVal fromID As Integer, _
    ByVal toID As Integer _
)
[C#]
public void SetIDs (
    int fromID,
    int toID
);
[C++]
HRESULT SetIDs(
  long fromID,
  long toID
);
[C++]

Parameters fromID
fromID is a parameter of type long toID
toID is a parameter of type long

Product Availability

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

Description

Sets the PointID attributes for the From and To points of the segment.  These attributes can be set regardless of the attribute awareness of the segment.

See Also

ISegmentID Interface

.NET Related Topics

How to add point IDs to a polyline