This document is archived and information here might be outdated.  Recommended version.


ICodedValueDomain.Value Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > ICodedValueDomain Interface > ICodedValueDomain.Value Property
ArcGIS Developer Help

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