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


IAMSWorkspace.CreateFeatureClass Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (TrackingAnalyst)  

IAMSWorkspace.CreateFeatureClass Method

Creates a new standalone feature class under the workspace.

[Visual Basic .NET]
Public Function CreateFeatureClass ( _
    ByVal Name As String, _
    ByVal Fields As IFields, _
    ByVal clsid As UID, _
    ByVal EXTCLSID As UID, _
    ByVal FeatureType As esriFeatureType, _
    ByVal ShapeFieldName As String, _
    ByVal ConfigKeyword As String _
) As IFeatureClass
[C#]
public IFeatureClass CreateFeatureClass (
    string Name,
    IFields Fields,
    UID clsid,
    UID EXTCLSID,
    esriFeatureType FeatureType,
    string ShapeFieldName,
    string ConfigKeyword
);
[C++]
HRESULT CreateFeatureClass(
  BSTR Name,
  IFields* Fields,
  IUID* clsid,
  IUID* EXTCLSID,
  esriFeatureType FeatureType,
  BSTR ShapeFieldName,
  BSTR ConfigKeyword,
  IFeatureClass** oclass
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Fields [in]
Fields is a parameter of type IFields clsid [in]
clsid is a parameter of type IUID EXTCLSID [in]
EXTCLSID is a parameter of type IUID FeatureType [in]
FeatureType is a parameter of type esriFeatureType ShapeFieldName [in] ShapeFieldName is a parameter of type BSTR ConfigKeyword [in] ConfigKeyword is a parameter of type BSTR oclass [out, retval]
oclass is a parameter of type IFeatureClass

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

IAMSWorkspace Interface