System.Runtime.InteropServices.UCOMIStream.SetSize Method

Changes the size of the stream object.

Syntax

public void SetSize (long libNewSize)

Parameters

libNewSize
Specifies the new size of the stream as a number of bytes.

Remarks

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

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0