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 | IWorkspaceEditEvents Interface | ISpatialCacheManager Interface | IWorkspaceEdit Interface | IFeatureClass.CreateFeature Method | Editor Class