A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
Couchbase.Lite
UnsavedRevision Class
UnsavedRevision Methods
SetAttachment Method
SetAttachment Method (String, String, IEnumerable(Byte))
SetAttachment Method (String, String, Stream)
SetAttachment Method (String, String, Uri)
UnsavedRevision
SetAttachment Method (String, String, IEnumerable
Byte
)
Sets the attachment with the given name.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
Copy
public
void
SetAttachment
(
string
name
,
string
contentType
,
IEnumerable
<
byte
>
content
)
Parameters
name
Type:
System
String
The name of the
Attachment
to set.
contentType
Type:
System
String
The content-type of the
Attachment
.
content
Type:
System.Collections.Generic
IEnumerable
Byte
The
Attachment
content.
Remarks
Sets the
Attachment
with the given name. The
Attachment
data will be written to the
Database
when the
Revision
is saved.
See Also
Reference
UnsavedRevision Class
SetAttachment Overload
Couchbase.Lite Namespace