Class VCardWriter
Writes vCard data (RFC 6350, RFC 2426, informal 2.1) to a stream.
Implements
Inherited Members
Namespace: DRIT.Mail.Rfc.VCard
Assembly: DRIT.Mail.dll
Syntax
public sealed class VCardWriter : IDisposable
Constructors
View SourceVCardWriter(Stream)
Initializes a new instance of the VCardWriter class.
Declaration
public VCardWriter(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
VCardWriter(Stream, bool)
Initializes a new instance of the VCardWriter class.
Declaration
public VCardWriter(Stream stream, bool leaveOpen)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
| bool | leaveOpen | The leave open used by the operation. |
Methods
View SourceDispose()
Processes the dispose data.
Declaration
public void Dispose()
Write(VCard, VCardVersion)
Writes a single vCard to the stream.
Declaration
public void Write(VCard card, VCardVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| VCard | card | The vCard to write. |
| VCardVersion | version | The version to write. |