This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetAttributesEdit Interface > INetAttributesEdit.SetDisabledState Method (ArcObjects .NET 10.5 SDK) |
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 VARIANT_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.