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

IGeometricNetwork.SearchForNetworkFeature Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetwork Interface > IGeometricNetwork.SearchForNetworkFeature Method
ArcGIS Developer Help

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
Location [in]

Location is a parameter of type IPoint* Type [in]
Type is a parameter of type esriFeatureType

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