Export (0) Print
Expand All

OracleParameterCollection.Add Method (Object)

.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Adds the specified OracleParameter to the OracleParameterCollection.

[Visual Basic]
Overloads Public Overridable Function Add( _
   ByVal value As Object _
) As Integer Implements IList.Add
[C#]
public virtual int Add(
 object value
);
[C++]
public: virtual int Add(
 Object* value
);
[JScript]
public function Add(
   value : Object
) : int;

Parameters

value
The OracleParameter to add to the collection.

Return Value

The index of the new OracleParameter object.

Implements

IList.Add

Exceptions

Exception Type Condition
ArgumentException The OracleParameter specified in the value parameter is already added to this or another OracleParameterCollection.
ArgumentNullException The value parameter is null.
InvalidCastException The value parameter is not an OracleParameter.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleParameterCollection Class | OracleParameterCollection Members | System.Data.OracleClient Namespace | OracleParameterCollection.Add Overload List

Show:
© 2014 Microsoft