PrintQueueStream.SetLength(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the length of the stream.
public:
override void SetLength(long value);
public override void SetLength (long value);
override this.SetLength : int64 -> unit
Public Overrides Sub SetLength (value As Long)
Parameters
- value
- Int64
The needed length, in bytes, of the current stream.
Remarks
A stream must support both writing and seeking for SetLength to work.
Use the CanWrite property to determine whether the current instance supports writing, and use the CanSeek property to determine whether seeking is supported.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.