ArcObjects Library Reference (Carto)  

IFeatureLayer.FeatureClass Property

The layer's feature class.

[Visual Basic .NET]
Public Property FeatureClass As IFeatureClass
[C#]
public IFeatureClass FeatureClass {get; set;}
[C++]
HRESULT get_FeatureClass(
  IFeatureClass** fclass
);
[C++]
HRESULT putref_FeatureClass(
  IFeatureClass* fclass
);
[C++]

Parameters

fclass [out, retval]

  fclass is a parameter of type IFeatureClass

fclass [in]

  fclass is a parameter of type IFeatureClass

Product Availability

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

Description

The FeatureClass data source for the layer.

See Also

IFeatureLayer Interface

.NET Snippets

Zoom to Selected Globe Features | Get FeatureClass of Selected Feature Layer in Contents View | Create Animation from Path | Add Shapefile Using OpenFileDialog | Add Tracking Layer To Map | Set Data Source |

.NET Samples

3D dynamic element tracking (Code Files: TrackDynamicObject) | Add a custom menu created in .NET to ArcGIS Desktop (Code Files: AddShapefile) | Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Adding a real-time feed to ArcMap (Code Files: AddTrackingServerLayerButton) | Automate ArcGIS Desktop applications (Code Files: Form1) | Buffer snap agent (Code Files: BufferSnap EditingForm) | Change layer rendering using the SymbologyControl (Code Files: LayerRendering) | Create camera flyby from path (Code Files: frmCameraPath) | Custom reshape polyline edit task (Code Files: EditingForm) | Custom vertex editing commands (Code Files: EditingForm) | Cut polygons without selection edit task (Code Files: EditingForm) | Displaying MOLE symbology with the GlobeControl (Code Files: MainForm) | Edit event listener (Code Files: EditingForm) | Editing using a custom form (Code Files: EditorForm) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Implementing a property page for an ArcGIS Engine application (Code Files: SymbolSelectorPropPage) | Managing snap agents (Code Files: EditingForm) | Multivariate renderer (Code Files: PropPageForm) | Network Analyst Engine application (Code Files: frmLoadLocations) | Points along line construction tool (Code Files: PointsAlongLineForm) | Retrieve a color ramp from the SymbologyControl (Code Files: ColorRamps SymbolForm) | Server spatial query server object extension (Code Files: Extension) | Simple point plug-in data source (Code Files: OpenSimplePointDlg) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) |

.NET Related Topics

3DAnalyst | Adding a custom menu created in .NET to ArcGIS Desktop | Adding a plug-in data source programmatically | Automating the ArcGIS Desktop applications | Converting labels to geodatabase annotation for a single layer | Converting labels to geodatabase annotation for an entire map | Converting labels to map annotation for a single layer | Creating annotation and dimension feature classes | DefenseSolutions | How to access a layer's underlying data | How to add different types of layers to a map | How to animate the camera along a path (line feature) in globe | How to connect to ArcGIS Tracking Server | How to create a selection set using a scatter plot graph | How to create an edit session | How to create graph series with different color types | How to get CAD transformation properties (from, to, angle, and scale) | How to get the points of a two-point CAD transformation | How to return CAD drawing layer properties | How to return CAD transformation settings | How to set CAD transformation properties (from, to, angle, and scale) | How to set the points of a two-point CAD transformation | How to zoom to selected features in globe | Location | Server object extensions (SOE) | Using feature templates | Utility COM objects |