Share via


ContactPropertyReader members

The ContactPropertyReader class reads the contents of vCard properties.

The ContactPropertyReader type exposes the following members.

Properties

  Name Description
Public property LastValueSeparator The LastValueSeparator property gets the last value separator read.
Public property Name The Name property gets the name of the property.
Public property ParameterReader The ParameterReader property gets a parameter reader that reads the property parameters.
Public property PropertyId The PropertyId property gets the identifier for the property.
Public property ValueType The ValueType property returns the type of the parameter.

Top

Methods

  Name Description
Public method ApplyValueOverrides The ApplyValueOverrides(Encoding, ByteEncoder) method overrides the current character set and/or encoding for the current property value.
Public method GetValueReadStream The GetValueReadStream() method returns the property value as a stream.
Public method ReadNextProperty The ReadNextProperty() method advances to the next property and reads the value.
Public method ReadNextValue The ReadNextValue() method advances to and reads the next value on a property.
Public method ReadValue() The ReadValue() method parses a property value according to its type and returns it as an object.
Public method ReadValue(ContactValueSeparators) The ReadValue(ContactValueSeparators) method parses the value according to its type and returns it as an object. Values are separated by the specified separators.
Public method ReadValueAsBoolean() The ReadValueAsBoolean() method reads the property value as a Boolean value.
Public method ReadValueAsBoolean(ContactValueSeparators) The ReadValueAsBoolean(ContactValueSeparators) method returns the property value as a Boolean value. Values are separated by the specified separators.
Public method ReadValueAsBytes The ReadValueAsBytes() method returns the property value as a byte array.
Public method ReadValueAsDateTime(ContactValueType) The ReadValueAsDateTime(ContactValueType) method returns the property value as a date and time.
Public method ReadValueAsDateTime(ContactValueType, ContactValueSeparators) The ReadValueAsDateTime(ContactValueType, ContactValueSeparators) method return the property value as a date and time. Values are separated by the specified separators.
Public method ReadValueAsDouble() The ReadValueAsDouble() method returns the property value as a double.
Public method ReadValueAsDouble(ContactValueSeparators) The ReadValueAsDouble(ContactValueSeparators) method returns the property value as a double. Values are separated by the specified separators.
Public method ReadValueAsInt32() The ReadValueAsInt32() method returns the property value as an integer.
Public method ReadValueAsInt32(ContactValueSeparators) The ReadValueAsInt32(ContactValueSeparators) method returns the property value as an integer. Values are separated by the specified separators.
Public method ReadValueAsString() The ReadValueAsString() method returns the property value as a string.
Public method ReadValueAsString(ContactValueSeparators) ReadValueAsString(ContactValueSeparators) Values are separated by the specified separators.
Public method ReadValueAsTimeSpan() The ReadValueAsTimeSpan() method returns the property value as a time span.
Public method ReadValueAsTimeSpan(ContactValueSeparators) The ReadValueAsTimeSpan(ContactValueSeparators) method returns the property value as a time span. Values are separated by the specified separators.

Top

See also

Reference

ContactPropertyReader structure

Microsoft.Exchange.Data.ContentTypes.vCard namespace