This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IN > INetworkLayer Interface > INetworkLayer.SearchLocatedNetworkElements Method (ArcObjects .NET 10.5 SDK) |
Searches through the specified network dataset's source and returns an enumeration of network locations that intersect the input geometry.
[Visual Basic .NET] Public Function SearchLocatedNetworkElements ( _ ByVal sourceName As String, _ ByVal Geometry As IGeometry _ ) As IEnumLocatedNetworkElement
[C#] public IEnumLocatedNetworkElement SearchLocatedNetworkElements ( string sourceName, IGeometry Geometry );
[C++]
HRESULT SearchLocatedNetworkElements(
BSTR sourceName,
IGeometry* Geometry,
IEnumLocatedNetworkElement** locatedElements
);
[C++]
Parameters sourceName [in] sourceName is a parameter of type BSTR Geometry [in]
Geometry is a parameter of type IGeometry locatedElements [out, retval]
locatedElements is a parameter of type IEnumLocatedNetworkElement