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


IClassSchemaEdit5.RegisterWithGeodatabase Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IClassSchemaEdit5.RegisterWithGeodatabase Method

Registers this table with the Geodatabase, assigning it a class id, and setting Object ID and (if spatial) Shape properties.

[Visual Basic .NET]
Public Function RegisterWithGeodatabase ( _
    ByVal objectIDFieldName As String, _
    ByVal ShapeFieldName As String, _
    ByVal GeometryType As esriGeometryType, _
    ByVal SpatialReference As ISpatialReference, _
    ByVal Extent As IEnvelope, _
    ByVal ConfigKeyword As String _
) As Integer
[C#]
public int RegisterWithGeodatabase (
    string objectIDFieldName,
    string ShapeFieldName,
    esriGeometryType GeometryType,
    ISpatialReference SpatialReference,
    IEnvelope Extent,
    string ConfigKeyword
);
[C++]
HRESULT RegisterWithGeodatabase(
  BSTR objectIDFieldName,
  BSTR ShapeFieldName,
  esriGeometryType GeometryType,
  ISpatialReference* SpatialReference,
  IEnvelope* Extent,
  BSTR ConfigKeyword
);
[C++]

Parameters objectIDFieldName [in]
objectIDFieldName is a parameter of type BSTR ShapeFieldName [in]
ShapeFieldName is a parameter of type BSTR GeometryType [in]
GeometryType is a parameter of type esriGeometryType SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference* Extent [in]
Extent is a parameter of type IEnvelope* ConfigKeyword [in]
ConfigKeyword is a parameter of type BSTR

Product Availability

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

See Also

IClassSchemaEdit5 Interface