Click or drag to resize

Blob Constructor (String, Stream)

Creates a blob given a type and streaming content

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public Blob(
	string contentType,
	Stream stream
)

Parameters

contentType
Type: SystemString
The binary type of the blob
stream
Type: System.IOStream
The stream containing the blob content

Return Value

Type: 
An instantiated Blob object
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if stream is null
See Also