This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPDataType Interface > IGPDataType.ValidateDataType Method (ArcObjects .NET 10.5 SDK) |
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
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.