BlobBuilder.TryWriteBytes(Stream, Int32) 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.
Attempts to write a sequence of bytes to the builder. A return value indicates the number of bytes successfully written.
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
Returns
The number of bytes successfully written from source
.
Exceptions
source
is null
.
byteCount
is negative.
The builder is not writable; it has been linked with another one.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.