This document is archived and information here might be outdated. Recommended version. |
Sets the disabled state of the specified network element.
[Visual Basic .NET] Public Sub SetDisabledState ( _ ByVal EID As Integer, _ ByVal ElementType As esriElementType, _ ByVal disableState As Boolean _ )
[C#] public void SetDisabledState ( int EID, esriElementType ElementType, bool disableState );
[C++]
HRESULT SetDisabledState(
long EID,
esriElementType ElementType,
VARIANT_BOOL disableState
);
[C++] Parameters EID [in]
EID is a parameter of type long ElementType [in]
ElementType is a parameter of type esriElementType disableState [in]
disableState is a parameter of type bool
Only use this method on stand-alone logical networks. For geometric networks, use IRowBuffer::Value and IRow::Store to modify the value of the feature attribute.