Compartir a través de


ContactReader Constructor (Stream, Encoding, ContactComplianceMode)

The ContactReader(Stream, Encoding, ContactComplianceMode) constructor initializes a new instance of the ContactReader class on the specified stream with the specified encoding and compliance mode.

Namespace:  Microsoft.Exchange.Data.ContentTypes.vCard
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    stream As Stream, _
    encoding As Encoding, _
    contactComplianceMode As ContactComplianceMode _
)
'Usage
Dim stream As Stream
Dim encoding As Encoding
Dim contactComplianceMode As ContactComplianceMode

Dim instance As New ContactReader(stream, _
    encoding, contactComplianceMode)
public ContactReader(
    Stream stream,
    Encoding encoding,
    ContactComplianceMode contactComplianceMode
)

Parameters

  • stream
    Type: System.IO.Stream
    A [System.IO.Stream] object containing the vCard data.
  • encoding
    Type: System.Text.Encoding
    A [System.IO.Stream,System.Text.Encoding] object the specifies the encoding used on the vCard data stream.