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


IGpDispatch.ParseFieldName Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.ParseFieldName Method

Parses a field name into its constituent parts.

[Visual Basic .NET]
Public Function ParseFieldName ( _
    ByVal inputFieldName As String, _
    [ByRef Workspace As Object] _
) As String
[C#]
public string ParseFieldName (
    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 ParseFieldName(
  BSTR inputFieldName,
  VARIANT* Workspace,
  BSTR* outputParsedName
);
[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. outputParsedName [out, retval] outputParsedName is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface