This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.ListFields Method (ArcObjects .NET 10.5 SDK) |
Returns a collection of fields in the given table/feature class based on a query string and type.
[Visual Basic .NET] Public Function ListFields ( _ ByRef pInputValue As Object, _ [ByRef wildCard As Object], _ [ByRef FieldType As Object] _ ) As Object
[C#] public object ListFields ( ref object pInputValue, ref object wildCard, ref object FieldType );
Optional Values
[C++]
HRESULT ListFields(
VARIANT* pInputValue,
VARIANT* wildCard,
VARIANT* FieldType,
IDispatch** ppDescribe
);
[C++]
Parameters pInputValue [in] pInputValue is a parameter of type VARIANT wildCard [optional] wildCard 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. FieldType [optional] FieldType 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. ppDescribe [out, retval] ppDescribe is a parameter of type IDispatch*