VistaDB 5






VistaDB.Provider Namespace > VistaDBParameter Class > VistaDBParameter Constructor : VistaDBParameter Constructor(String,VistaDBType,Int32)
The name of the parameter to map.
One of the VistaDBType values.
The length of the parameter.
VistaDBParameter Constructor(String,VistaDBType,Int32)
Initializes a new instance of the VistaDBParameter class that uses the parameter name, the VistaDBType, and the size.
Syntax
'Declaration
 
Public Function New( _
   ByVal parameterName As System.String, _
   ByVal dataType As VistaDBType, _
   ByVal size As System.Integer _
)
'Usage
 
Dim parameterName As System.String
Dim dataType As VistaDBType
Dim size As System.Integer
 
Dim instance As New VistaDBParameter(parameterName, dataType, size)
public VistaDBParameter( 
   System.string parameterName,
   VistaDBType dataType,
   System.int size
)
public VistaDBParameter( 
    parameterName: System.String;
    dataType: VistaDBType;
    size: System.Integer
); 
public function VistaDBParameter( 
   parameterName : System.String,
   dataType : VistaDBType,
   size : System.int
);
public: VistaDBParameter( 
   System.string* parameterName,
   VistaDBType dataType,
   System.int size
)
public:
VistaDBParameter( 
   System.String^ parameterName,
   VistaDBType dataType,
   System.int size
)

Parameters

parameterName
The name of the parameter to map.
dataType
One of the VistaDBType values.
size
The length of the parameter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also