Aspose::Email::Mapi::PidLidPropertyDescriptor Class Reference

Class contains property description information. More...

Inherits Aspose::Email::Mapi::PropertyDescriptor.

Public Member Functions

ASPOSE_EMAIL_SHARED_API int64_t get_LongId () const
 Gets an unsigned 32-bit quantity that, along with the property set, identifies a named property. More...
 
ASPOSE_EMAIL_SHARED_API System::Guid get_PropertySet () const
 A GUID that identifies a group of properties with a similar purpose. More...
 
ASPOSE_EMAIL_SHARED_API PidLidPropertyDescriptor (int64_t longId, PropertyDataType type, System::Guid propertySet)
 Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set. More...
 
ASPOSE_EMAIL_SHARED_API PidLidPropertyDescriptor (System::String canonicalName, int64_t longId, PropertyDataType type, System::Guid propertySet)
 Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set. More...
 
ASPOSE_EMAIL_SHARED_API PidLidPropertyDescriptor (System::String canonicalName, System::String name, int64_t longId, PropertyDataType type, System::Guid propertySet)
 Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set. More...
 
virtual ASPOSE_EMAIL_SHARED_API bool Equals (System::SharedPtr< System::Object > other)
 Determines whether the specified System.Object is equal to the current System.Object. More...
 
virtual ASPOSE_EMAIL_SHARED_API bool Equals (System::SharedPtr< PropertyDescriptor > other)
 Indicates whether the current object is equal to another object of the same type. More...
 
virtual ASPOSE_EMAIL_SHARED_API int32_t GetHashCode () const
 Serves as a hash function for a type. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString () const
 Returns a string that represents the property description. More...
 
- Public Member Functions inherited from Aspose::Email::Mapi::PropertyDescriptor
ASPOSE_EMAIL_SHARED_API PropertyDataType get_DataType ()
 The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property. More...
 
ASPOSE_EMAIL_SHARED_API bool get_MultipleValuesDataType ()
 Indicates if data type contains of multiple values More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API System::String get_Name () const
 Gets string that, identifies a property. More...
 
ASPOSE_EMAIL_SHARED_API PropertyDescriptor (PropertyDataType type)
 Initializes a new instance of the PropertyDescriptor class More...
 
ASPOSE_EMAIL_SHARED_API PropertyDescriptor (System::String canonicalName, PropertyDataType type)
 Initializes a new instance of the PropertyDescriptor class More...
 
ASPOSE_EMAIL_SHARED_API PropertyDescriptor (System::String canonicalName, System::String name, PropertyDataType type)
 Initializes a new instance of the PropertyDescriptor class More...
 
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > ToBytes (System::SharedPtr< System::Object > value)
 Converts value to binary data More...
 
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > ToBytes (System::SharedPtr< System::Object > value, System::SharedPtr< System::Globalization::DateTimeFormatInfo > dateTimeFormatInfo)
 Converts value to binary data More...
 

Friends

ASPOSE_EMAIL_SHARED_API bool operator== (System::SharedPtr< PidLidPropertyDescriptor > pd1, System::SharedPtr< PropertyDescriptor > pd2)
 
ASPOSE_EMAIL_SHARED_API bool operator!= (System::SharedPtr< PidLidPropertyDescriptor > pd1, System::SharedPtr< PropertyDescriptor > pd2)
 

Additional Inherited Members

- Static Public Member Functions inherited from Aspose::Email::Mapi::PropertyDescriptor
static ASPOSE_EMAIL_SHARED_API bool get_Use8BitStringAsUnicode ()
 Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String More...
 
static ASPOSE_EMAIL_SHARED_API void set_Use8BitStringAsUnicode (bool value)
 Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PropertyDescriptorParse (System::String data)
 Initializes a new instance of the PropertyDescriptor class More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PidTagPropertyDescriptorGetInstance (int32_t id, PropertyDataType dataType)
 Retrieves PidTagPropertyDescriptor object More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PidTagPropertyDescriptorGetInstance (int64_t tag)
 Retrieves PidTagPropertyDescriptor object More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PidLidPropertyDescriptorGetInstance (int64_t lid, PropertyDataType dataType, System::Guid propertySet)
 Retrieves PidLidPropertyDescriptor object More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PidNamePropertyDescriptorGetInstance (System::String name, PropertyDataType dataType, System::Guid propertySet)
 Retrieves PidNamePropertyDescriptor object More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PropertyDescriptorGetInstance (System::SharedPtr< MapiProperty > property)
 Retrieves PropertyDescriptor object from MAPI property More...
 
static ASPOSE_EMAIL_SHARED_API void ThrowUnsupportedType (System::SharedPtr< System::Object > value)
 
static ASPOSE_EMAIL_SHARED_API 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 ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > ToBytes (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value)
 Converts value to binary data More...
 
- Protected Member Functions inherited from Aspose::Email::Mapi::PropertyDescriptor
virtual ASPOSE_EMAIL_SHARED_API ~PropertyDescriptor ()
 

Detailed Description

Class contains property description information.

Constructor & Destructor Documentation

◆ PidLidPropertyDescriptor() [1/3]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::PidLidPropertyDescriptor::PidLidPropertyDescriptor ( int64_t  longId,
PropertyDataType  type,
System::Guid  propertySet 
)

Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set.

Parameters
longIdlong ID (LID): An unsigned 32-bit quantity that, in combination with a GUID, defines a named property.
typeSpecifies the type of values allowed for the property.
propertySetA GUID that identifies a group of properties with a similar purpose.

◆ PidLidPropertyDescriptor() [2/3]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::PidLidPropertyDescriptor::PidLidPropertyDescriptor ( System::String  canonicalName,
int64_t  longId,
PropertyDataType  type,
System::Guid  propertySet 
)

Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set.

Parameters
canonicalNameThe name used to refer to the property in the documentation.
longIdlong ID (LID): An unsigned 32-bit quantity that, in combination with a GUID, defines a named property.
typeSpecifies the type of values allowed for the property.
propertySetA GUID that identifies a group of properties with a similar purpose.

◆ PidLidPropertyDescriptor() [3/3]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Mapi::PidLidPropertyDescriptor::PidLidPropertyDescriptor ( System::String  canonicalName,
System::String  name,
int64_t  longId,
PropertyDataType  type,
System::Guid  propertySet 
)

Initializes a new instance of the PidLidPropertyDescriptor class Properties identified by an unsigned 32-bit quantity along with a property set.

Parameters
canonicalNameThe name used to refer to the property in the documentation.
nameThe MAPI name used to refer to the property in the documentation.
longIdlong ID (LID): An unsigned 32-bit quantity that, in combination with a GUID, defines a named property.
typeSpecifies the type of values allowed for the property.
propertySetA GUID that identifies a group of properties with a similar purpose.

Member Function Documentation

◆ Equals() [1/2]

virtual ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::PidLidPropertyDescriptor::Equals ( System::SharedPtr< PropertyDescriptor other)
virtual

Indicates whether the current object is equal to another object of the same type.

Parameters
otherAn object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.

Implements Aspose::Email::Mapi::PropertyDescriptor.

◆ Equals() [2/2]

virtual ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Mapi::PidLidPropertyDescriptor::Equals ( System::SharedPtr< System::Object other)
virtual

Determines whether the specified System.Object is equal to the current System.Object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified System.Object is equal to the current System.Object; otherwise, false.

◆ get_LongId()

ASPOSE_EMAIL_SHARED_API int64_t Aspose::Email::Mapi::PidLidPropertyDescriptor::get_LongId ( ) const

Gets an unsigned 32-bit quantity that, along with the property set, identifies a named property.

◆ get_PropertySet()

ASPOSE_EMAIL_SHARED_API System::Guid Aspose::Email::Mapi::PidLidPropertyDescriptor::get_PropertySet ( ) const

A GUID that identifies a group of properties with a similar purpose.

◆ GetHashCode()

virtual ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Mapi::PidLidPropertyDescriptor::GetHashCode ( ) const
virtual

Serves as a hash function for a type.

Returns
A hash code for the current object.

◆ ToString()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::PidLidPropertyDescriptor::ToString ( ) const
virtual

Returns a string that represents the property description.

Returns
A string that represents the property description.

Friends And Related Function Documentation

◆ operator!=

ASPOSE_EMAIL_SHARED_API bool operator!= ( System::SharedPtr< PidLidPropertyDescriptor pd1,
System::SharedPtr< PropertyDescriptor pd2 
)
friend

◆ operator==

ASPOSE_EMAIL_SHARED_API bool operator== ( System::SharedPtr< PidLidPropertyDescriptor pd1,
System::SharedPtr< PropertyDescriptor pd2 
)
friend