Edit

Share via


IStream.Clone(IStream) Method

Definition

Creates a new stream object with its own seek pointer that references the same bytes as the original stream.

public:
 void Clone([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IStream ^ % ppstm);
public void Clone (out System.Runtime.InteropServices.ComTypes.IStream ppstm);
abstract member Clone : IStream -> unit
Public Sub Clone (ByRef ppstm As IStream)

Parameters

ppstm
IStream

When this method returns, contains the new stream object. This parameter is passed uninitialized.

Remarks

For more information, see the existing documentation for IStream::Clone.

Applies to