IGPCodedValueDomain Interface

Provides access to members that return and modify coded value domain values.

Members

Name Description
Method AddCode Adds a (value, name) code.
Method AddStringCode Adds a (value, name) code.
Read-only property CodeCount The number of codes for the associated attribute.
Method DeleteCode Deletes a code with the specified value.
Method Empty Deletes all the codes.
Method FindName Provides the name for the specified value.
Method FindValue Provides the value object for the specified code.
Read-only property Name The code name for the specified code index.
Method PopulateDomain Populate the domain codes.
Read-only property Value The value object for the specified code index.

IGPCodedValueDomain.AddCode Method

Adds a (value, name) code.

Public Sub AddCode ( _
    ByVal Value As IGPValue, _
    ByVal Name As String _
)
public void AddCode (
    IGPValue Value,
    string Name
);

IGPCodedValueDomain.AddStringCode Method

Adds a (value, name) code.

Public Sub AddStringCode ( _
    ByVal Value As String, _
    ByVal Name As String _
)
public void AddStringCode (
    string Value,
    string Name
);

IGPCodedValueDomain.CodeCount Property

The number of codes for the associated attribute.

Public ReadOnly Property CodeCount As Integer
public int CodeCount {get;}

IGPCodedValueDomain.DeleteCode Method

Deletes a code with the specified value.

Public Sub DeleteCode ( _
    ByVal Value As IGPValue _
)
public void DeleteCode (
    IGPValue Value
);

IGPCodedValueDomain.Empty Method

Deletes all the codes.

Public Sub Empty ( _
)
public void Empty (
);

IGPCodedValueDomain.FindName Method

Provides the name for the specified value.

Public Function FindName ( _
    ByVal Value As IGPValue _
) As String
public string FindName (
    IGPValue Value
);

IGPCodedValueDomain.FindValue Method

Provides the value object for the specified code.

Public Function FindValue ( _
    ByVal Name As String _
) As IGPValue
public IGPValue FindValue (
    string Name
);

IGPCodedValueDomain.Name Property

The code name for the specified code index.

Public Function get_Name ( _
    ByVal Index As Integer _
) As String
public string get_Name (
    int Index
);

IGPCodedValueDomain.PopulateDomain Method

Populate the domain codes.

Public Sub PopulateDomain ( _
    ByVal Values As String, _
    ByVal Names As String, _
    ByVal GPDataType As IGPDataType _
)
public void PopulateDomain (
    string Values,
    string Names,
    IGPDataType GPDataType
);

IGPCodedValueDomain.Value Property

The value object for the specified code index.

Public Function get_Value ( _
    ByVal Index As Integer _
) As IGPValue
public IGPValue get_Value (
    int Index
);

Classes that implement IGPCodedValueDomain

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.