Partager via


ContactWriter Members

Include Protected Members
Include Inherited Members

The ContactWriter class writes structured vCard information to a stream.

The ContactWriter type exposes the following members.

Constructors

  Name Description
Public method ContactWriter(Stream) The ContactWriter(Stream) constructor initializes a new ContactWriter object.
Public method ContactWriter(Stream, Encoding) The ContactWriter(Stream, Encoding) constructor initializes a new ContactWriter object.

Top

Methods

  Name Description
Public method Close The Close() method closes the ContactWriter object.
Public method Dispose() The Dispose() method disposes all resources.
Protected method Dispose(Boolean) The Dispose(Boolean) method disposes all resources.
Public method EndVCard The EndVCard() ends a vCard entry.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Flush The Flush() method flushes all data to the underlying stream.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method StartParameter(String) The StartParameter(String) method starts a new parameter identified by the parameter name.
Public method StartParameter(ParameterId) The StartParameter(ParameterId) method starts a new parameter identified by the parameter identifier.
Public method StartProperty(String) The StartProperty(String) method starts a new property that is identified by the property name.
Public method StartProperty(PropertyId) The StartProperty(PropertyId) method starts a new property that is identified by the property identifier.
Public method StartVCard The StartVCard() method starts a new vCard entry.
Public method ToString (Inherited from Object.)
Public method WriteContact The WriteContact(ContactReader) method writes a vCard that is read from the ContactReader object.
Public method WriteParameter(ContactParameterReader) The WriteParameter(ContactParameterReader) method writes a parameter that is read by the ContactParameterReader object.
Public method WriteParameter(String, String) The WriteParameter(String, String) method writes a parameter based on parameter name.
Public method WriteParameter(ParameterId, String) The WriteParameter(ParameterId, String) method writes a parameter based on parameter identifier.
Public method WriteParameterValue The WriteParameterValue(String) method writes a parameter value.
Public method WriteProperty(ContactPropertyReader) The WriteProperty(ContactPropertyReader) method writes a property that is read by the reader.
Public method WriteProperty(String, String) The WriteProperty(String, String) method writes a property.
Public method WriteProperty(PropertyId, String) The WriteProperty(PropertyId, String) method writes a property.
Public method WritePropertyValue(Boolean) The WritePropertyValue(Boolean) method writes a Boolean value.
Public method WritePropertyValue([]) The WritePropertyValue([]) method writes a byte array.
Public method WritePropertyValue(DateTime) The WritePropertyValue(DateTime) method writes a DateTime value.
Public method WritePropertyValue(Double) The WritePropertyValue(Double) property writes a Double value.
Public method WritePropertyValue(Int32) The WritePropertyValue(Int32) method writes a 32-bit integer value.
Public method WritePropertyValue(Stream) The WritePropertyValue(Stream) writes data from the stream into a vCard property value.
Public method WritePropertyValue(Object) The WritePropertyValue(Object) method writes the property value stored in the Object.
Public method WritePropertyValue(String) The WritePropertyValue(String) method writes a string value to the vCard.
Public method WritePropertyValue(Boolean, ContactValueSeparators) The WritePropertyValue(Boolean, ContactValueSeparators) method writes a property value with the specified content value separator.
Public method WritePropertyValue(DateTime, ContactValueSeparators) The WritePropertyValue(DateTime, ContactValueSeparators) method writes a DateTime value with a value separator.
Public method WritePropertyValue(Double, ContactValueSeparators) The WritePropertyValue(Double, ContactValueSeparators) method writes a Double value with a value separator.
Public method WritePropertyValue(Int32, ContactValueSeparators) The WritePropertyValue(Int32, ContactValueSeparators) method writes a 32-bit integer value with a value separator.
Public method WritePropertyValue(Object, ContactValueSeparators) The WritePropertyValue(Object, ContactValueSeparators) method writes the property value stored in the Object with a value separator.
Public method WritePropertyValue(String, ContactValueSeparators) The WritePropertyValue(String, ContactValueSeparators) method writes a string property value to the vCard with value separators.
Public method WriteValueTypeParameter The WriteValueTypeParameter(ContactValueType) method writes a parameter.

Top