SetSize Method
Collapse the table of content
Expand the table of content

IStream.SetSize Method

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

Changes the size of the stream object.

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

'Declaration
Sub SetSize ( _
	libNewSize As Long _
)

Parameters

libNewSize
Type: System.Int64
The new size of the stream as a number of bytes.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft