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


IGeometricNetwork.CreateOrphanFeature Method (ArcObjects .NET 10.5 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,
  long* orphanEID,
  ISimpleJunctionFeature** orphan
);
[C++]

Parameters Location [in]
Location is a parameter of type IPoint orphanEID [out] orphanEID is a parameter of type long orphan [out, retval]
orphan is a parameter of type ISimpleJunctionFeature

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