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


IGeometricNetwork.CreateOrphanFeature Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGeometricNetwork.CreateOrphanFeature Method

Create an orphan JunctionFeature.

[Visual Basic .NET]
Public Function CreateOrphanFeature ( _
    ByVal Location As IPoint, _
    ByRef orphanEID As Integer _
) As ISimpleJunctionFeature
[C#]
public ISimpleJunctionFeature CreateOrphanFeature (
    IPoint Location,
    ref int orphanEID
);
[C++]
HRESULT CreateOrphanFeature(
  IPoint* Location,
  System.Int32* orphanEID
);
[C++]

Parameters Location [in]
Location is a parameter of type IPoint* orphanEID [out]
orphanEID is a parameter of type long*

Product Availability

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

Remarks

The CreateOrphanFeature method creates an orphan junction at the location corresponding to the supplied point.  Connectivity is not established by CreateOrphanFeature, the Connect method must be called explicitly after the feature is created.

See Also

IGeometricNetwork Interface | IWorkspaceEdit Interface | IWorkspaceEditEvents Interface | ISpatialCacheManager Interface | IFeatureClass.CreateFeature Method | Editor Class