Clone Method
Collapse the table of content
Expand the table of content

IStream.Clone Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Sub Clone ( _
	<OutAttribute> ByRef ppstm As IStream _
)

Parameters

ppstm
Type: System.Runtime.InteropServices.ComTypes.IStream %
When this method returns, contains the new stream object. This parameter is passed uninitialized.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft