Send feedback on this topic.
Teradata.Client.Provider
Add(String,TdType,Int32) Method



Teradata.Client.Provider Namespace > TdParameterCollection Class > Add Method : Add(String,TdType,Int32) Method
Specifies the Parameter Name of the newly created TdParameter object.
Specifies the Teradata data type of the newly created TdParameter object.
Specifies the Size of the newly created TdParameter object.
Creates and adds a TdParameter object to the TdParameterCollection. The TdParameter object is initialized with the specified parameter name, Teradata data type and size.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal parameterName As String, _
   ByVal dataType As TdType, _
   ByVal size As Integer _
) As TdParameter
'Usage
 
Dim instance As TdParameterCollection
Dim parameterName As String
Dim dataType As TdType
Dim size As Integer
Dim value As TdParameter
 
value = instance.Add(parameterName, dataType, size)
public TdParameter Add( 
   string parameterName,
   TdType dataType,
   int size
)
public:
TdParameter^ Add( 
   String^ parameterName,
   TdType dataType,
   int size
) 

Parameters

parameterName
Specifies the Parameter Name of the newly created TdParameter object.
dataType
Specifies the Teradata data type of the newly created TdParameter object.
size
Specifies the Size of the newly created TdParameter object.

Return Value

Returns the new member of the TdParameterCollection.
Remarks
For additional information see TdParameter constructor.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdParameterCollection Class
TdParameterCollection Members
Overload List
TdParameter Class