ArcObjects Library Reference (GeoDatabase)  

INetSchema.GetEnabledDisabledFieldName Method

Returns the name of the filed containing the enabled/disabled information for the specified user class.

[Visual Basic .NET]
Public Function GetEnabledDisabledFieldName ( _
    ByVal UserClassID As Integer _
) As String
[C#]
public string GetEnabledDisabledFieldName (
    int UserClassID
);
[C++]
HRESULT GetEnabledDisabledFieldName(
  long UserClassID,
  BSTR* enabledDisabledFieldName
);
[C++]

Parameters

UserClassID [in]   UserClassID is a parameter of type long enabledDisabledFieldName [out, retval]   enabledDisabledFieldName is a parameter of type BSTR

Product Availability

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

Remarks

GetEnabledDisabledFieldName returns the field name in the specified table used to hold the enabled/disabled value for each feature.  The enabled/disabled property indicates whether the feature can be traced through or not.  A True value (enabled) means you can trace through the feature, while a False value (disabled) means you cannot.

If the specified UserClassID cannot be found, an empty string is returned.

See Also

INetSchema Interface