IStream.Write(Byte[], Int32, IntPtr) Método
Definição
Grava um número especificado de bytes no objeto de fluxo, a partir do ponteiro de busca atual.Writes a specified number of bytes into the stream object starting at the current seek pointer.
public:
void Write(cli::array <System::Byte> ^ pv, int cb, IntPtr pcbWritten);
public void Write (byte[] pv, int cb, IntPtr pcbWritten);
abstract member Write : byte[] * int * nativeint -> unit
Public Sub Write (pv As Byte(), cb As Integer, pcbWritten As IntPtr)
Parâmetros
- pv
- Byte[]
O buffer no qual gravar o fluxo.The buffer to write this stream to.
- cb
- Int32
O número de bytes a serem gravados no fluxo.The number of bytes to write to the stream.
- pcbWritten
- IntPtr
Durante um retorno bem-sucedido, contém o número real de bytes gravados no objeto de fluxo.On successful return, contains the actual number of bytes written to the stream object. Se o chamador define esse ponteiro como Zero, esse método não fornece o número real de bytes gravados.If the caller sets this pointer to Zero, this method does not provide the actual number of bytes written.
Comentários
Para obter mais informações, consulte a documentação existente para ISequentialStream:: Write.For more information, see the existing documentation for ISequentialStream::Write.