Class PidLidPropertyDescriptor

PidLidPropertyDescriptor class

Describes a named property identified by a numeric ID (LID) within a property set.

public class PidLidPropertyDescriptor : PropertyDescriptor

Constructors

NameDescription
PidLidPropertyDescriptor(long, PropertyDataType, Guid)Initializes a new instance of the PidLidPropertyDescriptor class.
PidLidPropertyDescriptor(string, long, PropertyDataType, Guid)Initializes a new instance of the PidLidPropertyDescriptor class.
PidLidPropertyDescriptor(string, string, long, PropertyDataType, Guid)Initializes a new instance of the PidLidPropertyDescriptor class.

Properties

NameDescription
CanonicalName { get; }Gets the canonical name of the property, as in [MS-OXPROPS]. The prefix tells how the property is identified: PidLid by a numeric ID within a property set, PidName by a string name within a property set, PidTag by a fixed 16-bit ID.
DataType { get; }Gets the data type of the property value.
LongId { get; }Gets the numeric ID (LID) of the property within its property set.
MultipleValuesDataType { get; }Gets a value indicating whether the property is multi-valued.
Name { get; }Gets the alternate name of the property, such as PR_SUBJECT, or the name of a named property.
PropertySet { get; }Gets the GUID of the property set the property belongs to.

Methods

NameDescription
override Equals(object)Determines whether the specified object is equal to this descriptor.
override Equals(PropertyDescriptor)Determines whether the specified descriptor describes the same property.
override GetHashCode()Returns the hash code of the descriptor.
override ToString()Returns a string that describes the property, in the form that Parse accepts.
operator ==Determines whether the specified objects are equal to each another.
operator !=Determines whether the specified objects are not equal to each another.

Remarks

A named property has no fixed tag: it is identified by the GUID of its property set, such as PSETID_Appointment, and an ID within it. Pass the descriptor to SetProperty or GetProperty and the tag is resolved for you. For properties identified by a string name use PidNamePropertyDescriptor, for tagged properties PidTagPropertyDescriptor. Descriptors of the known properties are defined in KnownPropertyList.

See Also