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


INetworkLayer.SearchLocatedNetworkElements Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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,
  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

Product Availability

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

See Also

INetworkLayer Interface