ArcObjects Library Reference (GeoDatabase)  

IGPDataType.ValidateDataType Method

Validates if a given geoprocessing data type object is valid.

[Visual Basic .NET]
Public Function ValidateDataType ( _
    ByVal Type As IGPDataType _
) As IGPMessage
[C#]
public IGPMessage ValidateDataType (
    IGPDataType Type
);
[C++]
HRESULT ValidateDataType(
  IGPDataType* Type,
  IGPMessage** Message
);
[C++]

Parameters

Type [in]

  Type is a parameter of type IGPDataType

Message [out, retval]

  Message is a parameter of type IGPMessage

Product Availability

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

Remarks

The ValidateDataType method determines if a given DataType object is compatible. The method is used by ModelBuilder to evaluate if a variable can be associated with this DataType.

See Also

IGPDataType Interface