ArcObjects Library Reference  (GeoDatabase)    

IGPDataType.ValidateValue Method

Validates if a given geoprocessing value object is the correct data type.

[Visual Basic 6.0]
Function ValidateValue(
    ByVal Value As IGPValue, _
    ByVal Domain As IGPDomain _
) As IGPMessage
[Visual Basic .NET]
Public Function ValidateValue ( _
    ByVal Value As IGPValue, _
    ByVal Domain As IGPDomain _
) As IGPMessage
[C#]
public IGPMessage ValidateValue (
    IGPValue Value,
    IGPDomain Domain
);
[Java]
public IGPMessage validateValue (
    IGPValue Value,
    IGPDomain Domain
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ValidateValue(
  IGPValue* Value,
  IGPDomain* Domain,
  IGPMessage** Message
);
[C++]

Parameters

Value [in]

  Value is a parameter of type IGPValue

Domain [in]

  Domain is a parameter of type IGPDomain

Message [out, retval]

  Message is a parameter of type IGPMessage

Product Availability

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

Remarks

The ValidateValue method is used to determine if a Value object is compatible with a DataType.

See Also

IGPDataType Interface