• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class VCardWriter

Writes vCard data (RFC 6350, RFC 2426, informal 2.1) to a stream.

Inheritance
object
VCardWriter
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.VCard
Assembly: DRIT.Mail.dll
Syntax
public sealed class VCardWriter : IDisposable

Constructors

View Source

VCardWriter(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.

View Source

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 Source

Dispose()

Processes the dispose data.

Declaration
public void Dispose()
View Source

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.

Implements

IDisposable
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX