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


INetworkFeature.Enabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkFeature Interface > INetworkFeature.Enabled Property
ArcGIS Developer Help

INetworkFeature.Enabled Property

Indicates whether the NetworkFeature is open or not (i.e., closed).

[Visual Basic .NET]
Public Property Enabled As Boolean
[C#]
public bool Enabled {get; set;}
[C++]
HRESULT get_Enabled(
  Boolean* isEnabled
);
[C++]
HRESULT put_Enabled(
  VARIANT_BOOL isEnabled
);
[C++]
Parameters
isEnabled [out, retval]

isEnabled is a parameter of type bool* isEnabled [in]
isEnabled is a parameter of type bool

Product Availability

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

Remarks

The Enabled property provides access the enabled state of network features. The enabled state of network feature governs whether the feature is enabled or disabled for tracing.  By default, all network features are enabled when the network is built or when first created.

All edits to features that participate in a Geometric Network must be performed within an edit session and bracketed within an edit operation.

See Also

INetworkFeature Interface