This documentation is archived and is not being maintained.

OracleLob.Clone Method

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

Creates a new OracleLob object that references the same Oracle LOB as the original OracleLob object.

[Visual Basic]
Public Overridable Function Clone() As Object Implements _
   ICloneable.Clone
[C#]
public virtual object Clone();
[C++]
public: virtual Object* Clone();
[JScript]
public function Clone() : Object;

Return Value

A new OracleLob object that references the same Oracle LOB as the original OracleLob object.

Implements

ICloneable.Clone

Exceptions

Exception Type Condition
InvalidOperationException The connection is closed.
ObjectDisposedException The object was closed or disposed.

Remarks

The properties of the new OracleLob object initially have the same values as those of the original object. However, after the Clone is complete, each OracleLob object is independent from the other. For example, changing the value of the Position property on the original OracleLob does not change the value of Position on the copy.

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

OracleLob Class | OracleLob Members | System.Data.OracleClient Namespace

Show: