ArcObjects Library Reference (GeoDatabase)  

INetAttributes.GetDisabledState Method

Returns the disabled state of the specified network element.

[Visual Basic .NET]
Public Function GetDisabledState ( _
    ByVal EID As Integer, _
    ByVal ElementType As esriElementType _
) As Boolean
[C#]
public bool GetDisabledState (
    int EID,
    esriElementType ElementType
);
[C++]
HRESULT GetDisabledState(
  long EID,
  esriElementType ElementType,
  VARIANT_BOOL* disabledState
);
[C++]

Parameters

EID [in]   EID is a parameter of type long ElementType [in]

  ElementType is a parameter of type esriElementType

disabledState [out, retval]   disabledState is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

True means the network element is disabled.

See Also

INetAttributes Interface