This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > IComplexNetworkFeature Interface > IComplexNetworkFeature.EnabledByIndex Property (ArcObjects .NET 10.4 SDK) |
Indicates whether the NetworkFeature is open or not (i.e., closed).
[Visual Basic .NET] Public Function get_EnabledByIndex ( _ ByVal edgeIndex As Integer _ ) As Boolean
[Visual Basic .NET] Public Sub set_EnabledByIndex ( _ ByVal edgeIndex As Integer, _ ByVal isEnabled As Boolean _ )
[C#] public bool get_EnabledByIndex ( int edgeIndex );
[C#] public void set_EnabledByIndex ( int edgeIndex, bool isEnabled );
[C++]
HRESULT get_EnabledByIndex(
long edgeIndex,
VARIANT_BOOL* isEnabled
);
[C++]
HRESULT put_EnabledByIndex(
long edgeIndex,
VARIANT_BOOL isEnabled
);
[C++]
Parameters edgeIndex [in] edgeIndex is a parameter of type long isEnabled [out, retval] isEnabled is a parameter of type VARIANT_BOOL edgeIndex [in] edgeIndex is a parameter of type long isEnabled [in] isEnabled is a parameter of type VARIANT_BOOL
It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as class extensions.
When used with complex edge features, developers should set the Enabled value through the use of the IFeature::Value property, as the Enabled value must apply to the entire feature, not individual elements.