Returns the value of a given feature as a string.
[Visual Basic 6.0] Function GetFeatureValue(
ByVal MapName As String, _
ByVal LayerID As Long, _
ByVal Feature As IFeature, _
ByVal FieldName As String _
) As String
[Visual Basic .NET] Public Function GetFeatureValue ( _ ByVal MapName As String, _ ByVal LayerID As Integer, _ ByVal Feature As IFeature, _ ByVal FieldName As String _ ) As String
[C#] public string GetFeatureValue ( string MapName, int LayerID, IFeature Feature, string FieldName );
[Java] public String getFeatureValue ( String MapName, int LayerID, IFeature Feature, String FieldName ) throws IOException, AutomationException
[C++] HRESULT GetFeatureValue( BSTR MapName, long LayerID, IFeature* Feature, BSTR FieldName, BSTR* fieldValue );
Parameters
MapName [in]
MapName is a parameter of type BSTR
LayerID [in]
LayerID is a parameter of type long
Feature [in]
Feature is a parameter of type IFeature
FieldName [in]
FieldName is a parameter of type BSTR
fieldValue [out, retval]
fieldValue is a parameter of type BSTR
GetFeatureValue preserves number formatting set in the map document. It also supports subtype and domain descriptions.