ArcObjects Library Reference (GeoDatabase)  

IGeometricNetwork.SearchForNetworkFeature Method

The NetworkFeatures found at the point.

[Visual Basic .NET]
Public Function SearchForNetworkFeature ( _
    ByVal Location As IPoint, _
    ByVal Type As esriFeatureType _
) As IEnumFeature
public IEnumFeature SearchForNetworkFeature (
    IPoint Location,
    esriFeatureType Type
HRESULT SearchForNetworkFeature(
  IPoint* Location,
  esriFeatureType Type,
  IEnumFeature** features


Location [in]

  Location is a parameter of type IPoint

Type [in]

  Type is a parameter of type esriFeatureType

features [out, retval]

  features is a parameter of type IEnumFeature

Product Availability

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


The SearchForNetworkFeature method returns an enumerator of the specified type of network feature located at the supplied point.  If more than one feature is coincident with the point, then all are returned. The returned features may span different classes; the only restriction is that all features must be of the same feature type. There is no guarantee as to the order of the returned features.

See Also

IGeometricNetwork Interface