PrintQueueStream.Write(Byte[], Int32, Int32) 方法

定义

将字节序列写入流,并按所写入的字节数向前移动在流中的读/写位置。

public:
 override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
[System.Security.SecurityCritical]
public override void Write (byte[] buffer, int offset, int count);
public override void Write (byte[] buffer, int offset, int count);
[<System.Security.SecurityCritical>]
override this.Write : byte[] * int * int -> unit
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)

参数

buffer
Byte[]

要从其复制到流的字节数组。

offset
Int32

buffer 中从零开始的字节偏移量,从此处开始将字节复制到流中。

count
Int32

要写入流的字节数。

属性

适用于