This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetwork Interface > IGeometricNetwork.SearchForNetworkFeature Method (ArcObjects .NET 10.5 SDK) |
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
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.