dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleParameterCollection Class / Add Method / Add(String,OracleDbType,Int32,Object,ParameterDirection) Method
The name of the parameter.
One of the OracleDbType values.
The maximum size, in bytes, of the data the parameter can contain.
The Devart.Common.DbParameterBase.Value of the OracleParameter to add to the collection.
Specifies whether the parameter is input, output, both, or it is the return value.

In This Topic
    Add(String,OracleDbType,Int32,Object,ParameterDirection) Method
    In This Topic
    Adds a OracleParameter to the OracleParameterCollection given the parameter name, data type, data size, parameter value, and direction.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal parameterName As String, _
       ByVal dbType As OracleDbType, _
       ByVal size As Integer, _
       ByVal value As Object, _
       ByVal direction As ParameterDirection _
    ) As OracleParameter

    Parameters

    parameterName
    The name of the parameter.
    dbType
    One of the OracleDbType values.
    size
    The maximum size, in bytes, of the data the parameter can contain.
    value
    The Devart.Common.DbParameterBase.Value of the OracleParameter to add to the collection.
    direction
    Specifies whether the parameter is input, output, both, or it is the return value.

    Return Value

    The new OracleParameter 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