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


IFeatureClassContainer.ClassByName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClassContainer Interface > IFeatureClassContainer.ClassByName Property
ArcGIS Developer Help

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 Samples

ArcGIS Network Analyst extension barrier location editor Implementing associations between GIS features and schematic features