Send feedback on this topic.
Teradata.Client.Provider
TdParameter Constructor(String,Object)



Teradata.Client.Provider Namespace > TdParameter Class > TdParameter Constructor : TdParameter Constructor(String,Object)
Specifies the name of the parameter.
Specifies the value of the parameter.
Creates a new instance of the TdParameter class.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal value As Object _
)
'Usage
 
Dim name As String
Dim value As Object
 
Dim instance As New TdParameter(name, value)
public TdParameter( 
   string name,
   object value
)
public:
TdParameter( 
   String^ name,
   Object^ value
)

Parameters

name
Specifies the name of the parameter.
value
Specifies the value of the parameter.
Remarks
A new instance of TdParameter class is initialized with the following default property values.
Property Initial Value
DbType System.Data.DbType.String
Direction System.Data.ParameterDirection.Input
IsNullable false
Offset Zero (0)
ParameterName name parameter
Precision 0 (will be inferred if not specified by the application)
Scale 0 (will be inferred if not specified by the application)
Size 0 (will be inferred if not specified by the application)
SourceColumn empty string
SourceVersion System.Data.DataRowVersion.Current
TdType TdType.VarChar
Value value parameter
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdParameter Class
TdParameter Members
Overload List