Class PidLidPropertyDescriptor

PidLidPropertyDescriptor class

Contains descriptive information about a MAPI named property. This class provides properties and functionality for working with properties identified by a 32-bit long ID (LID) combined with a property set GUID, typically used for custom or non-standard MAPI properties.

public class PidLidPropertyDescriptor : PropertyDescriptor

Constructors

NameDescription
PidLidPropertyDescriptor(long, PropertyDataType, Guid)Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set.
PidLidPropertyDescriptor(string, long, PropertyDataType, Guid)Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set.
PidLidPropertyDescriptor(string, string, long, PropertyDataType, Guid)Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set.

Properties

NameDescription
CanonicalName { get; }The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity.
DataType { get; }The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property.
LongId { get; }Gets an unsigned 32-bit quantity that, along with the property set, identifies a named property.
MultipleValuesDataType { get; }Indicates if data type contains of multiple values
Name { get; }Gets string that, identifies a property.
PropertySet { get; }A GUID that identifies a group of properties with a similar purpose.

Methods

NameDescription
override Equals(object)Determines whether the specified System.Object is equal to the current System.Object.
override Equals(PropertyDescriptor)Indicates whether the current object is equal to another object of the same type.
override GetHashCode()Serves as a hash function for a type.
override ToString()Returns a string that represents the property description.
operator ==Determines whether the specified objects are equal to each another.
operator !=Determines whether the specified objects are not equal to each another.

Remarks

This class extends PropertyDescriptor and is specifically designed for named properties in MAPI, which are identified by a combination of a 32-bit long ID and a GUID property set (e.g., PSETID.Address, PSETID.Appointment). Use PidTagPropertyDescriptor for working with standard tagged properties. The class provides access to the long ID, property set GUID, and data type.

See Also