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

Class VCardReader

Reads vCard data (RFC 6350, RFC 2426, informal 2.1) from a stream.

Inheritance
object
VCardReader
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 VCardReader : IDisposable

Constructors

View Source

VCardReader(Stream)

Initializes a new instance of the VCardReader class.

Declaration
public VCardReader(Stream stream)
Parameters
Type Name Description
Stream stream

The stream used to read or write the data.

View Source

VCardReader(Stream, bool)

Initializes a new instance of the VCardReader class.

Declaration
public VCardReader(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

Read()

Reads the first vCard from the stream. Returns null if no vCard is found.

Declaration
public VCard? Read()
Returns
Type Description
VCard
View Source

ReadAll()

Reads all vCards from the stream.

Declaration
public IReadOnlyList<VCard> ReadAll()
Returns
Type Description
IReadOnlyList<VCard>

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