This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerData Interface > IMapServerData.GetFeature Method (ArcObjects .NET 10.4 SDK) |
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,
IFeature** Feature
);
[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 Feature [out, retval]
Feature is a parameter of type IFeature