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