Interface IFieldChecker

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that control the Field Checker.

[Guid("7370629B-3E8F-11D2-AAE0-00C04FA33C20")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IFieldChecker

Remarks

The logic used to determine if the OID field should be renamed to "ObjectID" can be classified with 4 cases.

Case1: Both the InputWorkspace and ValidateWorkspace are provided.

  • The OID field is renamed to "ObjectID" if the InputWorkspace is of type esriFileSystemWorkspace and the ValidateWorkspace is a Geodatabase workspace (type esriLocalDatabaseWorkspace or esriRemoteDatabaseWorkspace).

Case2: Only the InputWorkspace is provided (the ValidateWorkspace has not been provided).

  • The OID field is renamed to "ObjectID" if the InputWorkspace is of type esriFileSystemWorkspace.

Case3: Only the ValidateWorkspace is provided (the InputWorkspace has not been provided).

  • The OID field is renamed to "ObjectID" if the ValidateWorkspace is a Geodatabase workspace.

Case4: Neither of the workspaces is provided

  • The OID field is not renamed to "ObjectID"

Properties

InputWorkspace

Input workspace of the fieldchecker.

IWorkspace InputWorkspace { get; set; }

Property Value

IWorkspace

ValidateDictionary

Fieldchecker dictionary.

ISqlKeywordDictionary ValidateDictionary { get; set; }

Property Value

ISqlKeywordDictionary

ValidateWorkspace

Workspace of the fieldchecker.

IWorkspace ValidateWorkspace { get; set; }

Property Value

IWorkspace

Methods

Validate(IFields, out IEnumFieldError, out IFields)

Checks the validity of a list of field names.

void Validate(IFields inputField, out IEnumFieldError error, out IFields fixedFields)

Parameters

inputField IFields
error IEnumFieldError
fixedFields IFields

ValidateField(int, IFields, out IEnumFieldError, out IFields)

Checks the validity of a field.

void ValidateField(int FieldIndex, IFields inputFields, out IEnumFieldError error, out IFields fixedFields)

Parameters

FieldIndex int
inputFields IFields
error IEnumFieldError
fixedFields IFields

ValidateTableName(string, out string)

Checks the validity of a table name.

int ValidateTableName(string TableName, out string fixedName)

Parameters

TableName string
fixedName string

Returns

int