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


ISegmentID.SetIDs Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentID Interface > ISegmentID.SetIDs Method
ArcGIS Developer Help

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