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


IGPValueTableType.AddDataType Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPValueTableType.AddDataType Method

Adds the given data type to the value table data type.

[Visual Basic .NET]
Public Sub AddDataType ( _
    ByVal pDataType As IGPDataType, _
    ByVal DisplayName As String, _
    ByVal Width As Integer, _
    ByVal CLSID As UID _
)
[C#]
public void AddDataType (
    IGPDataType pDataType,
    string DisplayName,
    int Width,
    UID CLSID
);
[C++]
HRESULT AddDataType(
  IGPDataType* pDataType,
  BSTR DisplayName,
  long Width,
  IUID* CLSID
);
[C++]

Parameters pDataType [in]
pDataType is a parameter of type IGPDataType DisplayName [in] DisplayName is a parameter of type BSTR Width [in] Width is a parameter of type long CLSID [in]
CLSID is a parameter of type IUID

Product Availability

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

See Also

IGPValueTableType Interface

.NET Related Topics

Building a custom geoprocessing function tool