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

Class contains property description information. More...

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

Public Member Functions

int64_t get_LongId () const
 Gets an unsigned 32-bit quantity that, along with the property set, identifies a named property. More...
 
System::Guid get_PropertySet () const
 A GUID that identifies a group of properties with a similar purpose. More...
 
 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...
 
 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...
 
 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...
 
bool Equals (System::SharedPtr< System::Object > other) override
 Determines whether the specified System.Object is equal to the current System.Object. More...
 
bool Equals (System::SharedPtr< PropertyDescriptor > other) override
 Indicates whether the current object is equal to another object of the same type. More...
 
int32_t GetHashCode () const override
 Serves as a hash function for a type. More...
 
System::String ToString () const override
 
- Public Member Functions inherited from Aspose::Email::Mapi::PropertyDescriptor
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...
 
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...
 

Friends

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

Additional Inherited Members

- Static Public Member Functions inherited from Aspose::Email::Mapi::PropertyDescriptor
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< PropertyDescriptorParse (System::String data)
 Initializes a new instance of the PropertyDescriptor class More...
 
static System::SharedPtr< PidTagPropertyDescriptorGetInstance (int32_t id, PropertyDataType dataType)
 Retrieves PidTagPropertyDescriptor object More...
 
static System::SharedPtr< PidTagPropertyDescriptorGetInstance (int64_t tag)
 Retrieves PidTagPropertyDescriptor object More...
 
static System::SharedPtr< PidLidPropertyDescriptorGetInstance (int64_t lid, PropertyDataType dataType, System::Guid propertySet)
 Retrieves PidLidPropertyDescriptor object More...
 
static System::SharedPtr< PidNamePropertyDescriptorGetInstance (System::String name, PropertyDataType dataType, System::Guid propertySet)
 Retrieves PidNamePropertyDescriptor object More...
 
static System::SharedPtr< PropertyDescriptorGetInstance (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...
 
- Protected Member Functions inherited from Aspose::Email::Mapi::PropertyDescriptor
virtual ~PropertyDescriptor ()
 

Detailed Description

Class contains property description information.

Constructor & Destructor Documentation

◆ PidLidPropertyDescriptor() [1/3]

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::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::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]

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

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]

bool Aspose::Email::Mapi::PidLidPropertyDescriptor::Equals ( System::SharedPtr< System::Object >  other)
override

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()

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()

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

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

◆ GetHashCode()

int32_t Aspose::Email::Mapi::PidLidPropertyDescriptor::GetHashCode ( ) const
override

Serves as a hash function for a type.

Returns
A hash code for the current object.

◆ ToString()

System::String Aspose::Email::Mapi::PidLidPropertyDescriptor::ToString ( ) const
override

Friends And Related Function Documentation

◆ operator!=

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

◆ operator==

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