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
[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

IFeatureLayer2 Interface