Class PidNamePropertyDescriptor
PidNamePropertyDescriptor class
Contains descriptive information about a MAPI named property identified by a string name. This class provides properties and functionality for working with properties identified by a string name combined with a property set GUID, typically used for custom or non-standard MAPI properties with string-based identifiers.
public class PidNamePropertyDescriptor : PropertyDescriptor
Constructors
| Name | Description |
|---|
| PidNamePropertyDescriptor(string, PropertyDataType, Guid) | Initializes a new instance of the PidNamePropertyDescriptor class Properties identified by a string name along with a property set. |
| PidNamePropertyDescriptor(string, string, PropertyDataType, Guid) | Initializes a new instance of the PidNamePropertyDescriptor class Properties identified by a string name along with a property set. |
Properties
| Name | Description |
|---|
| 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. |
| 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
| Name | Description |
|---|
| 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. |
This class extends PropertyDescriptor and is specifically designed for named properties in MAPI that use string names instead of numeric IDs. Properties are identified by a combination of a string name and a GUID property set (e.g., “Keywords” in PSETID.Address). Use PidTagPropertyDescriptor for standard tagged properties and PidLidPropertyDescriptor for named properties with numeric long IDs. The class provides access to the property name, property set GUID, and data type.
See Also