VistaDB 5






The name of the parameter.
One of the VistaDBType values.
Add(String,VistaDBType) Method
Adds a VistaDBParameter to the VistaDBParameterCollection given the parameter name and the data type.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal parameterName As System.String, _
   ByVal dataType As VistaDBType _
) As VistaDBParameter
'Usage
 
Dim instance As VistaDBParameterCollection
Dim parameterName As System.String
Dim dataType As VistaDBType
Dim value As VistaDBParameter
 
value = instance.Add(parameterName, dataType)
public VistaDBParameter Add( 
   System.string parameterName,
   VistaDBType dataType
)
public function Add( 
    parameterName: System.String;
    dataType: VistaDBType
): VistaDBParameter; 
public function Add( 
   parameterName : System.String,
   dataType : VistaDBType
) : VistaDBParameter;
public: VistaDBParameter* Add( 
   System.string* parameterName,
   VistaDBType dataType
) 
public:
VistaDBParameter^ Add( 
   System.String^ parameterName,
   VistaDBType dataType
) 

Parameters

parameterName
The name of the parameter.
dataType
One of the VistaDBType values.

Return Value

The new VistaDBParameter object.
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