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


INetworkLayer.SearchLocatedNetworkElements Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IN > INetworkLayer Interface > INetworkLayer.SearchLocatedNetworkElements Method
ArcGIS Developer Help

INetworkLayer.SearchLocatedNetworkElements Method

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
);
[C++]
Parameters
sourceName [in]

sourceName is a parameter of type BSTR Geometry [in]
Geometry is a parameter of type IGeometry*

Product Availability

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

See Also

INetworkLayer Interface