Chili.Opf3 Send comments on this topic.
CreateParameter Method
See Also 
Chili.Opf3.Storages Namespace > SqlRawStorageAccess Class : CreateParameter Method




name
The name of the parameter. Is passed as reference, because may be changed by the storage!
value
The value of the parameter.
type
The type of the value of the parameter. This is especially required if the parameter value is null.
Creates a parameter for the storage.

Syntax

Visual Basic (Declaration) 
Public Function CreateParameter( _
   ByRef name As String, _
   ByVal value As Object, _
   ByVal type As Type _
) As IDataParameter
Visual Basic (Usage)Copy Code
Dim instance As SqlRawStorageAccess
Dim name As String
Dim value As Object
Dim type As Type
Dim value As IDataParameter
 
value = instance.CreateParameter(name, value, type)
C# 
public IDataParameter CreateParameter( 
   ref string name,
   object value,
   Type type
)
Managed Extensions for C++ 
public: IDataParameter CreateParameter( 
   ref string* name,
   Object* value,
   Type* type
) 
C++/CLI 
public:
IDataParameter CreateParameter( 
   ref String^ name,
   Object^ value,
   Type^ type
) 

Parameters

name
The name of the parameter. Is passed as reference, because may be changed by the storage!
value
The value of the parameter.
type
The type of the value of the parameter. This is especially required if the parameter value is null.

Return Value

An instance of a parameter that may be used with a command.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also