ArcObjects Library Reference (GeoDatabase)  

INetwork.CreateNetBrowser Method

Creates a network index element browser.

[Visual Basic .NET]
Public Function CreateNetBrowser ( _
    ByVal ElementType As esriElementType _
) As IEnumNetEID
public IEnumNetEID CreateNetBrowser (
    esriElementType ElementType
HRESULT CreateNetBrowser(
  esriElementType ElementType,
  IEnumNetEID** netBrowser


ElementType [in]

  ElementType is a parameter of type esriElementType

netBrowser [out, retval]

  netBrowser is a parameter of type IEnumNetEID

Product Availability

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


CreateNetBrowser returns a reference to an IEnumNetEID interface.  This particular enumeration represents all of the elements within the network.  Use this method when you want to access all of the individual elements of the network for setting the enabled/disabled property or some other similar purpose.

See Also

INetwork Interface

.NET Samples

Set flow by digitized direction (Code Files: SetFlowByDigitizedDirectionVBNet)