IMapServerData.GetFeature Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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