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


IGeometricNetwork.SearchForNetworkFeature Method (ArcObjects .NET 10.5 SDK)
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
[C#]
public IEnumFeature SearchForNetworkFeature (
    IPoint Location,
    esriFeatureType Type
);
[C++]
HRESULT SearchForNetworkFeature(
  IPoint* Location,
  esriFeatureType Type,
  IEnumFeature** features
);
[C++]

Parameters 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.

Remarks

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