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




index
Index of the storage parameter.
name
Name of the storage parameter.
value
Value of the storage parameter.
type
The type of the value argument. This information is useful if the value is null.
Creates and populates a storage dependent parameter with data.

Syntax

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

Parameters

index
Index of the storage parameter.
name
Name of the storage parameter.
value
Value of the storage parameter.
type
The type of the value argument. This information is useful if the value is null.

Return Value

The name of the storage parameter should be set to a valid parameter name (one that is supported by the storage) while creating the parameter.

Exceptions

ExceptionDescription
ArgumentNullExceptionName is null.

Requirements

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

See Also