Interface IGPCodedValueDomain

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

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

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("41DC44A0-D2EB-11D5-933F-0080C71A3226")]
public interface IGPCodedValueDomain

Properties

CodeCount

The number of codes for the associated attribute.

int CodeCount { get; }

Property Value

int

Name[int]

The code name for the specified code index.

string Name[int Index] { get; }

Parameters

Index int

Property Value

string

Value[int]

The value object for the specified code index.

IGPValue Value[int Index] { get; }

Parameters

Index int

Property Value

IGPValue

Methods

AddCode(IGPValue, string)

Adds a (value, name) code.

void AddCode(IGPValue Value, string Name)

Parameters

Value IGPValue
Name string

AddStringCode(string, string)

Adds a (value, name) code.

void AddStringCode(string Value, string Name)

Parameters

Value string
Name string

DeleteCode(IGPValue)

Deletes a code with the specified value.

void DeleteCode(IGPValue Value)

Parameters

Value IGPValue

Empty()

Deletes all the codes.

void Empty()

FindName(IGPValue)

Provides the name for the specified value.

string FindName(IGPValue Value)

Parameters

Value IGPValue

Returns

string

FindValue(string)

Provides the value object for the specified code.

IGPValue FindValue(string Name)

Parameters

Name string

Returns

IGPValue

PopulateDomain(string, string, IGPDataType)

Populate the domain codes.

void PopulateDomain(string Values, string Names, IGPDataType GPDataType)

Parameters

Values string
Names string
GPDataType IGPDataType