BlobBuilder.TryWriteBytes(Stream, Int32) Methode

Definitie

Probeert een reeks bytes naar de opbouwfunctie te schrijven. Een retourwaarde geeft het aantal bytes aan dat is geschreven.

public:
 int TryWriteBytes(System::IO::Stream ^ source, int byteCount);
public int TryWriteBytes(System.IO.Stream source, int byteCount);
member this.TryWriteBytes : System.IO.Stream * int -> int
Public Function TryWriteBytes (source As Stream, byteCount As Integer) As Integer

Parameters

source
Stream
byteCount
Int32

Retouren

Het aantal bytes dat is geschreven vanuit source.

Uitzonderingen

source is null.

byteCount is negatief.

De opbouwfunctie is niet beschrijfbaar; het is gekoppeld aan een andere.

Van toepassing op