ArcObjects Library Reference (GeoDatabase)  

ICodedValueDomain.Value Property

The value for the specified code index.

[Visual Basic .NET]
Public Function get_Value ( _
    ByVal Index As Integer _
) As Object
[C#]
public object get_Value (
    int Index
);
[C++]
HRESULT get_Value(
  long Index,
  VARIANT* Value
);
[C++]

Parameters

Index [in]   Index is a parameter of type long Value [out, retval]   Value is a parameter of type VARIANT

Product Availability

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

Remarks

This property returns the coded value for the specified position in the coded value domain. The type of object returned depends on the type of field associated with the domain; for example, if the domain applies to Text fields, the value returned will be a string. The IDomain.FieldType property can be used to determine the type of field associated with a domain.

See Also

ICodedValueDomain Interface

.NET Related Topics

Creating and modifying domains | Geodatabase |