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


IGPUtilities.FieldExists Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.FieldExists Method

Returns whether the given field exists within the given geoprocessing value object.

[Visual Basic .NET]
Public Function FieldExists ( _
    ByVal pGPValue As IGPValue, _
    ByVal pField As IField _
) As Boolean
[C#]
public bool FieldExists (
    IGPValue pGPValue,
    IField pField
);
[C++]
HRESULT FieldExists(
  IGPValue* pGPValue,
  IField* pField,
  VARIANT_BOOL* pExists
);
[C++]

Parameters pGPValue [in]
pGPValue is a parameter of type IGPValue pField [in]
pField is a parameter of type IField pExists [out, retval] pExists is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IGPUtilities Interface