Class contains property description information.
More...
Inherits IEquatable< System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor > >.
Inherited by Aspose::Email::Mapi::PidLidPropertyDescriptor, Aspose::Email::Mapi::PidNamePropertyDescriptor, and Aspose::Email::Mapi::PidTagPropertyDescriptor.
Class contains property description information.
◆ PropertyDescriptor() [1/3]
Aspose::Email::Mapi::PropertyDescriptor::PropertyDescriptor |
( |
PropertyDataType |
type | ) |
|
Initializes a new instance of the PropertyDescriptor class
- Parameters
-
type | The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property. |
◆ PropertyDescriptor() [2/3]
Aspose::Email::Mapi::PropertyDescriptor::PropertyDescriptor |
( |
System::String |
canonicalName, |
|
|
PropertyDataType |
type |
|
) |
| |
Initializes a new instance of the PropertyDescriptor class
- Parameters
-
canonicalName | The name used to refer to the property in the documentation. |
type | The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property. |
◆ PropertyDescriptor() [3/3]
Aspose::Email::Mapi::PropertyDescriptor::PropertyDescriptor |
( |
System::String |
canonicalName, |
|
|
System::String |
name, |
|
|
PropertyDataType |
type |
|
) |
| |
Initializes a new instance of the PropertyDescriptor class
- Parameters
-
canonicalName | The name used to refer to the property in the documentation. |
name | The MAPI name used to refer to the property in the documentation. |
type | The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property. |
◆ ~PropertyDescriptor()
virtual Aspose::Email::Mapi::PropertyDescriptor::~PropertyDescriptor |
( |
| ) |
|
|
protectedvirtual |
◆ Equals()
bool Aspose::Email::Mapi::PropertyDescriptor::Equals |
( |
System::SharedPtr< PropertyDescriptor > |
other | ) |
|
|
overridepure virtual |
◆ get_CanonicalName()
System::String Aspose::Email::Mapi::PropertyDescriptor::get_CanonicalName |
( |
| ) |
const |
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.
◆ get_DataType()
The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property.
◆ get_MultipleValuesDataType()
bool Aspose::Email::Mapi::PropertyDescriptor::get_MultipleValuesDataType |
( |
| ) |
|
Indicates if data type contains of multiple values
◆ get_Name()
System::String Aspose::Email::Mapi::PropertyDescriptor::get_Name |
( |
| ) |
const |
Gets string that, identifies a property.
◆ get_Use8BitStringAsUnicode()
static bool Aspose::Email::Mapi::PropertyDescriptor::get_Use8BitStringAsUnicode |
( |
| ) |
|
|
static |
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
◆ GetInstance() [1/5]
◆ GetInstance() [2/5]
◆ GetInstance() [3/5]
◆ GetInstance() [4/5]
◆ GetInstance() [5/5]
◆ Parse()
static System::SharedPtr<PropertyDescriptor> Aspose::Email::Mapi::PropertyDescriptor::Parse |
( |
System::String |
data | ) |
|
|
static |
Initializes a new instance of the PropertyDescriptor class
- Parameters
-
data | A string that represents the property description. |
◆ set_Use8BitStringAsUnicode()
static void Aspose::Email::Mapi::PropertyDescriptor::set_Use8BitStringAsUnicode |
( |
bool |
value | ) |
|
|
static |
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
◆ ThrowUnsupportedType()
static void Aspose::Email::Mapi::PropertyDescriptor::ThrowUnsupportedType |
( |
System::SharedPtr< System::Object > |
value | ) |
|
|
static |
◆ ToBytes() [1/4]
static System::ArrayPtr<uint8_t> Aspose::Email::Mapi::PropertyDescriptor::ToBytes |
( |
System::SharedPtr< PropertyDescriptor > |
pd, |
|
|
System::SharedPtr< System::Object > |
value |
|
) |
| |
|
static |
Converts value to binary data
- Parameters
-
pd | The property descriptor. |
value | The property data. |
◆ ToBytes() [2/4]
static System::ArrayPtr<uint8_t> Aspose::Email::Mapi::PropertyDescriptor::ToBytes |
( |
System::SharedPtr< PropertyDescriptor > |
pd, |
|
|
System::SharedPtr< System::Object > |
value, |
|
|
System::SharedPtr< System::Globalization::DateTimeFormatInfo > |
dateTimeFormatInfo |
|
) |
| |
|
static |
Converts value to binary data
- Parameters
-
pd | The property descriptor. |
value | The property data. |
dateTimeFormatInfo | DateTime format provider. |
◆ ToBytes() [3/4]
System::ArrayPtr<uint8_t> Aspose::Email::Mapi::PropertyDescriptor::ToBytes |
( |
System::SharedPtr< System::Object > |
value | ) |
|
Converts value to binary data
- Parameters
-
◆ ToBytes() [4/4]
System::ArrayPtr<uint8_t> Aspose::Email::Mapi::PropertyDescriptor::ToBytes |
( |
System::SharedPtr< System::Object > |
value, |
|
|
System::SharedPtr< System::Globalization::DateTimeFormatInfo > |
dateTimeFormatInfo |
|
) |
| |
Converts value to binary data
- Parameters
-
value | The property data. |
dateTimeFormatInfo | DateTime format provider. |
◆ Aspose::Email::Mapi::MapiAttachment
◆ Aspose::Email::Mapi::MapiMessageItemBase
◆ Aspose::Email::Mapi::MapiNamedProperty
◆ Aspose::Email::Mapi::MapiProperty
◆ Aspose::Email::Mapi::MapiPropertyCollection
◆ Aspose::Email::Mapi::PidLidPropertyDescriptor
◆ Aspose::Email::Mapi::PidNamePropertyDescriptor
◆ Aspose::Email::Mapi::PidTagPropertyDescriptor
◆ operator!=
◆ operator==