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


IGPDataType.ValidateDataType Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPDataType Interface > IGPDataType.ValidateDataType Method
ArcGIS Developer Help

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
);
[C++]
Parameters
Type [in]

Type is a parameter of type IGPDataType*

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