Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Blob Class
Blob Constructor
Blob Constructor (String, Byte[])
Blob Constructor (String, Stream)
Blob Constructor (String, Uri)
Blob Constructor (String, Uri)
Creates an blob given a type and a URL to a file
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
Copy
public
Blob
(
string
contentType
,
Uri
fileUrl
)
Parameters
contentType
Type:
System
String
The binary type of the blob
fileUrl
Type:
System
Uri
The url to the file to read
Return Value
Type:
An instantiated
Blob
object
Exceptions
Exception
Condition
ArgumentNullException
Thrown if
fileUrl
is
null
ArgumentException
Thrown if fileUrl is not a file based URL
See Also
Reference
Blob Class
Blob Overload
Couchbase.Lite Namespace