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

IStream.SetSize Method (Int64)


Changes the size of the stream object.

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

void SetSize(
	long 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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft