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
[C#]
public IEnumNetEID CreateNetBrowser (
    esriElementType ElementType
);
[C++]
HRESULT CreateNetBrowser(
  esriElementType ElementType,
  IEnumNetEID** netBrowser
);
[C++]

Parameters

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.

Remarks

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)