This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFieldChecker Interface > IFieldChecker.ValidateTableName Method (ArcObjects .NET 10.5 SDK) |
Checks the validity of a table name.
[Visual Basic .NET] Public Function ValidateTableName ( _ ByVal TableName As String, _ ByRef fixedName As String _ ) As Integer
[C#] public int ValidateTableName ( string TableName, ref string fixedName );
[C++]
HRESULT ValidateTableName(
BSTR TableName,
BSTR* fixedName,
long* error
);
[C++]
Parameters TableName [in] TableName is a parameter of type BSTR fixedName [out] fixedName is a parameter of type BSTR error [out, retval] error is a parameter of type long
ValidateTableName verifies that a table name is valid for the target data format, and if needed, returns a compliant table name. This method returns a esriTableNameErrorType indicating the type of error. Table existence is not checked.