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

IFeatureLayer2.FeatureClass Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureLayer2 Interface > IFeatureLayer2.FeatureClass Property
ArcGIS Developer Help

IFeatureLayer2.FeatureClass Property

The layer's feature class.

[Visual Basic .NET]
Public Property FeatureClass As IFeatureClass
public IFeatureClass FeatureClass {get; set;}
HRESULT get_FeatureClass(
  IFeatureClass** fclass
HRESULT putref_FeatureClass(
  IFeatureClass* fclass
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.


The FeatureClass data source for the layer.

See Also

IFeatureLayer2 Interface