Creates a parameter for the storage.
Syntax
| Visual Basic (Declaration) | |
|---|
Protected Overridable Function CreateParameter( _
ByVal storage As SqlStorageBase, _
ByVal index As Integer, _
ByVal value As Object, _
ByVal type As Type, _
ByRef name As String _
) As IDataParameter |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SqlCommandBuilderBase
Dim storage As SqlStorageBase
Dim index As Integer
Dim value As Object
Dim type As Type
Dim name As String
Dim value As IDataParameter
value = instance.CreateParameter(storage, index, value, type, name)
|
Parameters
- storage
- The storage class the parameter is created for.
- index
- The index of the parameter in the current query.
- value
- The value of the parameter.
- type
- The type of the parameter.
- name
- The name of the parameter. Returned by this routine.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also