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



Teradata.Client.Provider Namespace > TdParameterCollection Class > Add Method : Add(String,TdType) Method
Specifies the Parameter Name of the newly created TdParameter object.
Specifies the Teradata data type 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 and Teradata data type.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal parameterName As String, _
   ByVal dataType As TdType _
) As TdParameter
'Usage
 
Dim instance As TdParameterCollection
Dim parameterName As String
Dim dataType As TdType
Dim value As TdParameter
 
value = instance.Add(parameterName, dataType)
public TdParameter Add( 
   string parameterName,
   TdType dataType
)
public:
TdParameter^ Add( 
   String^ parameterName,
   TdType dataType
) 

Parameters

parameterName
Specifies the Parameter Name of the newly created TdParameter object.
dataType
Specifies the Teradata data type 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