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


IGpDispatch.ValidateFieldName Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.ValidateFieldName Method

Checks a field for compatibility with the workspace.

[Visual Basic .NET]
Public Function ValidateFieldName ( _
    ByVal inputFieldName As String, _
    [ByRef Workspace As Object] _
) As String
[C#]
public string ValidateFieldName (
    string inputFieldName,
    ref object Workspace
);
[C#]

Optional Values

Workspace   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT ValidateFieldName(
  BSTR inputFieldName,
  VARIANT* Workspace,
  BSTR* outputFieldName
);
[C++]

Parameters inputFieldName [in] inputFieldName is a parameter of type BSTR Workspace [optional] Workspace is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. outputFieldName [out, retval] outputFieldName is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface