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


IFeatureClassContainer.ClassByName Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeatureClassContainer.ClassByName Property

The FeatureClass with the specified name.

[Visual Basic .NET]
Public Function get_ClassByName ( _
    ByVal Name As String _
) As IFeatureClass
[C#]
public IFeatureClass get_ClassByName (
    string Name
);
[C++]
HRESULT get_ClassByName(
  BSTR Name,
  IFeatureClass** FeatureClass
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR FeatureClass [out, retval]
FeatureClass is a parameter of type IFeatureClass

Product Availability

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

See Also

IFeatureClassContainer Interface

.NET Snippets

Set Data Source

.NET Samples

Implementing associations between GIS features and schematic features (Code Files: ElementFeatureAssociation) | ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm)