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


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

IMapServerData.GetFeature Method

Returns a feature, given the feature ID and layer.

[Visual Basic .NET]
Public Function GetFeature ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer, _
    ByVal FeatureId As Integer _
) As IFeature
[C#]
public IFeature GetFeature (
    string MapName,
    int LayerID,
    int FeatureId
);
[C++]
HRESULT GetFeature(
  BSTR MapName,
  long LayerID,
  long FeatureId
);
[C++]
Parameters
MapName [in]

MapName is a parameter of type BSTR LayerID [in]
LayerID is a parameter of type long FeatureId [in]
FeatureId is a parameter of type long

Product Availability

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

See Also

IMapServerData Interface