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


IFieldChecker.ValidateTableName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFieldChecker Interface > IFieldChecker.ValidateTableName Method
ArcGIS Developer Help

IFieldChecker.ValidateTableName Method

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,
  System.String* fixedName
);
[C++]
Parameters
TableName [in]

TableName is a parameter of type BSTR fixedName [out]
fixedName is a parameter of type BSTR*

Product Availability

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

Description

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.

See Also

IFieldChecker Interface