ArcFM Responder Mobile Developer Guide
GetFeature Method (GeoObject)






The workspace containing the feature.
The feature class ID number.
The feature ID number.
Retrieves a feature from a workspace.
Syntax
'Declaration
 
Public Shared Function GetFeature( _
   ByVal workspace As ESRI.ArcGIS.Geodatabase.IWorkspace, _
   ByVal fcid As System.Integer, _
   ByVal oid As System.Integer _
) As ESRI.ArcGIS.Geodatabase.IFeature
'Usage
 
Dim workspace As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim fcid As System.Integer
Dim oid As System.Integer
Dim value As ESRI.ArcGIS.Geodatabase.IFeature
 
value = GeoObject.GetFeature(workspace, fcid, oid)
public static ESRI.ArcGIS.Geodatabase.IFeature GetFeature( 
   ESRI.ArcGIS.Geodatabase.IWorkspace workspace,
   System.int fcid,
   System.int oid
)
public function GetFeature( 
    workspace: ESRI.ArcGIS.Geodatabase.IWorkspace;
    fcid: System.Integer;
    oid: System.Integer
): ESRI.ArcGIS.Geodatabase.IFeature; static; 
public static function GetFeature( 
   workspace : ESRI.ArcGIS.Geodatabase.IWorkspace,
   fcid : System.int,
   oid : System.int
) : ESRI.ArcGIS.Geodatabase.IFeature;
public: static ESRI.ArcGIS.Geodatabase.IFeature* GetFeature( 
   ESRI.ArcGIS.Geodatabase.IWorkspace* workspace,
   System.int fcid,
   System.int oid
) 
public:
static ESRI.ArcGIS.Geodatabase.IFeature^ GetFeature( 
   ESRI.ArcGIS.Geodatabase.IWorkspace^ workspace,
   System.int fcid,
   System.int oid
) 

Parameters

workspace
The workspace containing the feature.
fcid
The feature class ID number.
oid
The feature ID number.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GeoObject Class
GeoObject Members

Send Feedback