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


IGPParameter.DataType Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPParameter.DataType Property

Data type of the geoprocessing parameter.

[Visual Basic .NET]
Public ReadOnly Property DataType As IGPDataType
[C#]
public IGPDataType DataType {get;}
[C++]
HRESULT get_DataType(
  IGPDataType** DataType
);
[C++]

Parameters DataType [out, retval]
DataType is a parameter of type IGPDataType

Product Availability

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

Remarks

The DataType property defines and manages the type of data that can be used with a parameter. Examples include: FeatureClass, String, Boolean, Raster, and Table. So, if a parameter's data type is Table, then only table data can be entered. For a complete list of data type objects, check the IGPDataType in the ArcGIS Developer Help. 

See Also

IGPParameter Interface

.NET Related Topics

Running a geoprocessing tool using background geoprocessing