Class contains property description information. More...
Inherits IEquatable< System::SharedPtr< PropertyDescriptor > >.
Inherited by Aspose::Email::Mapi::PidLidPropertyDescriptor, Aspose::Email::Mapi::PidNamePropertyDescriptor, and Aspose::Email::Mapi::PidTagPropertyDescriptor.
Public Member Functions | |
| PropertyDataType | get_DataType () |
| The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property. More... | |
| bool | get_MultipleValuesDataType () |
| Indicates if data type contains of multiple values More... | |
| System::String | 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: More... | |
| System::String | get_Name () const |
| Gets string that, identifies a property. More... | |
| PropertyDescriptor (PropertyDataType type) | |
| Initializes a new instance of the PropertyDescriptor class More... | |
| PropertyDescriptor (System::String canonicalName, PropertyDataType type) | |
| Initializes a new instance of the PropertyDescriptor class More... | |
| PropertyDescriptor (System::String canonicalName, System::String name, PropertyDataType type) | |
| Initializes a new instance of the PropertyDescriptor class More... | |
| bool | Equals (System::SharedPtr< PropertyDescriptor > other) override=0 |
| Indicates whether the current object is equal to another object of the same type. More... | |
| System::ArrayPtr< uint8_t > | ToBytes (System::SharedPtr< System::Object > value) |
| Converts value to binary data More... | |
| System::ArrayPtr< uint8_t > | ToBytes (System::SharedPtr< System::Object > value, System::SharedPtr< System::Globalization::DateTimeFormatInfo > dateTimeFormatInfo) |
| Converts value to binary data More... | |
Static Public Member Functions | |
| static bool | get_Use8BitStringAsUnicode () |
| Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String More... | |
| static void | set_Use8BitStringAsUnicode (bool value) |
| Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String More... | |
| static System::SharedPtr< PropertyDescriptor > | Parse (System::String data) |
| Initializes a new instance of the PropertyDescriptor class More... | |
| static System::SharedPtr< PidTagPropertyDescriptor > | GetInstance (int32_t id, PropertyDataType dataType) |
| Retrieves PidTagPropertyDescriptor object More... | |
| static System::SharedPtr< PidTagPropertyDescriptor > | GetInstance (int64_t tag) |
| Retrieves PidTagPropertyDescriptor object More... | |
| static System::SharedPtr< PidLidPropertyDescriptor > | GetInstance (int64_t lid, PropertyDataType dataType, System::Guid propertySet) |
| Retrieves PidLidPropertyDescriptor object More... | |
| static System::SharedPtr< PidNamePropertyDescriptor > | GetInstance (System::String name, PropertyDataType dataType, System::Guid propertySet) |
| Retrieves PidNamePropertyDescriptor object More... | |
| static System::SharedPtr< PropertyDescriptor > | GetInstance (System::SharedPtr< MapiProperty > property) |
| Retrieves PropertyDescriptor object from MAPI property More... | |
| static void | ThrowUnsupportedType (System::SharedPtr< System::Object > value) |
| static System::ArrayPtr< uint8_t > | ToBytes (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value, System::SharedPtr< System::Globalization::DateTimeFormatInfo > dateTimeFormatInfo) |
| Converts value to binary data More... | |
| static System::ArrayPtr< uint8_t > | ToBytes (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value) |
| Converts value to binary data More... | |
| static System::ArrayPtr< uint8_t > | ToPtypInteger32 (int32_t val) |
| static System::ArrayPtr< uint8_t > | ToPtypBinary (System::ArrayPtr< uint8_t > clearDataWithoutLength) |
| static System::ArrayPtr< uint8_t > | ToMultipleBinaryFromObject (System::SharedPtr< System::Object > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleBinary (System::SharedPtr< System::Collections::Generic::IEnumerable< System::ArrayPtr< uint8_t >>> data) |
| static System::ArrayPtr< uint8_t > | ToMultipleString (System::SharedPtr< System::Text::Encoding > encoding, System::SharedPtr< System::Object > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleString (System::SharedPtr< System::Text::Encoding > encoding, System::SharedPtr< System::Collections::Generic::IEnumerable< System::String >> sData) |
| static System::ArrayPtr< uint8_t > | ToMultipleCurrency (System::SharedPtr< System::Collections::IEnumerable > mCur) |
| static System::ArrayPtr< uint8_t > | ToMultipleFloating32 (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleFloating64 (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleInteger16 (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleInteger32 (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleInteger64 (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleBoolean (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleGuid (System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleTime (System::SharedPtr< System::Globalization::DateTimeFormatInfo > dateTimeFormatInfo, System::SharedPtr< System::Collections::IEnumerable > value) |
| static System::ArrayPtr< uint8_t > | ToMultipleFloatingTime (System::SharedPtr< System::Globalization::DateTimeFormatInfo > dateTimeFormatInfo, System::SharedPtr< System::Collections::IEnumerable > value) |
Protected Member Functions | |
| virtual | ~PropertyDescriptor () |
Friends | |
| bool | operator== (System::SharedPtr< PropertyDescriptor > pd1, System::SharedPtr< PropertyDescriptor > pd2) |
| Determines whether the specified System.Object is equal to the current System.Object. More... | |
| bool | operator!= (System::SharedPtr< PropertyDescriptor > pd1, System::SharedPtr< PropertyDescriptor > pd2) |
| Determines whether the specified objects are not equal to each another. More... | |
Class contains property description information.
| Aspose::Email::Mapi::PropertyDescriptor::PropertyDescriptor | ( | PropertyDataType | type | ) |
Initializes a new instance of the PropertyDescriptor class
| type | The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property. |
| Aspose::Email::Mapi::PropertyDescriptor::PropertyDescriptor | ( | System::String | canonicalName, |
| PropertyDataType | type | ||
| ) |
Initializes a new instance of the PropertyDescriptor class
| 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. |
| Aspose::Email::Mapi::PropertyDescriptor::PropertyDescriptor | ( | System::String | canonicalName, |
| System::String | name, | ||
| PropertyDataType | type | ||
| ) |
Initializes a new instance of the PropertyDescriptor class
| 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. |
|
protectedvirtual |
|
overridepure virtual |
Indicates whether the current object is equal to another object of the same type.
| other | An object to compare with this object. |
Implemented in Aspose::Email::Mapi::PidTagPropertyDescriptor, Aspose::Email::Mapi::PidNamePropertyDescriptor, and Aspose::Email::Mapi::PidLidPropertyDescriptor.
| 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:
| PropertyDataType Aspose::Email::Mapi::PropertyDescriptor::get_DataType | ( | ) |
The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property.
| bool Aspose::Email::Mapi::PropertyDescriptor::get_MultipleValuesDataType | ( | ) |
Indicates if data type contains of multiple values
| System::String Aspose::Email::Mapi::PropertyDescriptor::get_Name | ( | ) | const |
Gets string that, identifies a property.
|
static |
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
|
static |
Retrieves PidTagPropertyDescriptor object
| id | Id of a property |
| dataType | Data type of a property |
|
static |
Retrieves PidLidPropertyDescriptor object
| lid | Long id of a property |
| dataType | Data type of a property |
| propertySet | PropertySet of a property |
|
static |
Retrieves PidTagPropertyDescriptor object
| tag | Tag of a property |
|
static |
Retrieves PropertyDescriptor object from MAPI property
| property | MapiProperty object |
|
static |
Retrieves PidNamePropertyDescriptor object
| name | Name of a property |
| dataType | Data type of a property |
| propertySet | PropertySet of a property |
|
static |
Initializes a new instance of the PropertyDescriptor class
| data | A string that represents the property description. |
|
static |
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
|
static |
|
static |
Converts value to binary data
| pd | The property descriptor. |
| value | The property data. |
|
static |
Converts value to binary data
[MS-OXMSG]:Specifies the .msg file format, which is used to represent individual email messages, appointments, contacts, tasks, and so on in the file system. https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxmsg/b046868c-9fbf-41ae-9ffb-8de2bd4eec82 https://interoperability.blob.core.windows.net/files/MS-OXMSG/%5bMS-OXMSG%5d.pdf [MS-OXCDATA]: Specifies common data structures that are used in remote operations. https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcdata/1afa0cd9-b1a0-4520-b623-bf15030af5d8 https://interoperability.blob.core.windows.net/files/MS-OXCDATA/%5bMS-OXCDATA%5d-190319.pdf
| pd | The property descriptor. |
| value | The property data. |
| dateTimeFormatInfo | DateTime format provider. |
| System::ArrayPtr<uint8_t> Aspose::Email::Mapi::PropertyDescriptor::ToBytes | ( | System::SharedPtr< System::Object > | value | ) |
Converts value to binary data
| value | The property data. |
| 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
| value | The property data. |
| dateTimeFormatInfo | DateTime format provider. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| clearDataWithoutLength | !!!!! Binary data WITHOUT binary stream length metadata !!!!! |
|
static |
|
friend |
Determines whether the specified objects are not equal to each another.
| pd1 | The object to compare with another object. |
| pd2 | The object to compare with another object. |
|
friend |
Determines whether the specified System.Object is equal to the current System.Object.
| obj | The object to compare with the current object. |
Determines whether the specified objects are equal to each another.
| pd1 | The object to compare with another object. |
| pd2 | The object to compare with another object. |