Redigera

Dela via


OracleLob.Clone Method

Definition

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

public:
 virtual System::Object ^ Clone();
public object Clone ();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Function Clone () As Object

Returns

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

Implements

Exceptions

The connection is closed.

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.

Applies to