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


INetworkFeature.Enabled Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  VARIANT_BOOL* isEnabled
);
[C++]
HRESULT put_Enabled(
  VARIANT_BOOL isEnabled
);
[C++]

Parameters isEnabled [out, retval] isEnabled is a parameter of type VARIANT_BOOL isEnabled [in] isEnabled is a parameter of type VARIANT_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