Click or drag to resize

BlobFactoryCreate Method (String, Stream)

Creates an IBlob given a type and streaming content

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
public static IBlob Create(
	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: IBlob
An instantiated IBlob object
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if stream is null
See Also