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


IMxdServer.GetFeatureValue Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServer Interface > IMxdServer.GetFeatureValue Method
ArcGIS Developer Help

IMxdServer.GetFeatureValue Method

The value of the specified field for the specified feature.

[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
);
[C++]
HRESULT GetFeatureValue(
  BSTR MapName,
  long LayerID,
  IFeature* Feature,
  BSTR FieldName
);
[C++]
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

Product Availability

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

See Also

IMxdServer Interface