com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class PidTagPropertyDescriptor

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<PropertyDescriptor>


    public class PidTagPropertyDescriptor
    extends PropertyDescriptor

    Class contains property description information.

    • Constructor Detail

      • PidTagPropertyDescriptor

        public PidTagPropertyDescriptor(int id,
                                int type)

        Initializes a new instance of the PidTagPropertyDescriptor class A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 – 0x7FFF. Property IDs in the range 0x8000 – 0x8FFF are reserved for assignment to named properties

        Parameters:
        id - Unsigned 16-bit quantity that identifies a tagged property.
        type - Specifies the type of values allowed for the property.
      • PidTagPropertyDescriptor

        public PidTagPropertyDescriptor(String canonicalName,
                                int id,
                                int type)

        Initializes a new instance of the PidTagPropertyDescriptor class A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 – 0x7FFF. Property IDs in the range 0x8000 – 0x8FFF are reserved for assignment to named properties

        Parameters:
        canonicalName - The name used to refer to the property in the documentation.
        id - Unsigned 16-bit quantity that identifies a tagged property.
        type - Specifies the type of values allowed for the property.
      • PidTagPropertyDescriptor

        public PidTagPropertyDescriptor(String canonicalName,
                                String name,
                                int id,
                                int type)

        Initializes a new instance of the PidTagPropertyDescriptor class A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 – 0x7FFF. Property IDs in the range 0x8000 – 0x8FFF are reserved for assignment to named properties

        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.
        id - Unsigned 16-bit quantity that identifies a tagged property.
        type - Specifies the type of values allowed for the property.
      • PidTagPropertyDescriptor

        public PidTagPropertyDescriptor(long tag)

        Initializes a new instance of the PidTagPropertyDescriptor class A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 – 0x7FFF. Property IDs in the range 0x8000 – 0x8FFF are reserved for assignment to named properties

        Parameters:
        tag - A tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15
      • PidTagPropertyDescriptor

        public PidTagPropertyDescriptor(String canonicalName,
                                String name,
                                long tag)

        Initializes a new instance of the PidTagPropertyDescriptor class A property that is defined by a 16-bit property ID and a 16-bit property type. The property ID for a tagged property is in the range 0x001 – 0x7FFF. Property IDs in the range 0x8000 – 0x8FFF are reserved for assignment to named properties

        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.
        tag - A tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15
    • Method Detail

      • getId

        public final int getId()

        Gets an unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class.

      • getTag

        public final long getTag()

        A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15.

      • op_Equality

        public static boolean op_Equality(PidTagPropertyDescriptor pd1,
                          PropertyDescriptor pd2)

        Determines whether the specified objects are equal to each another.

        Parameters:
        pd1 - The object to compare with another object.
        pd2 - The object to compare with another object.
        Returns:
        true if the specified PropertyDescriptor is equal to the another PropertyDescriptor; otherwise, false.
      • to_PidTagPropertyDescriptor

        public static PidTagPropertyDescriptor to_PidTagPropertyDescriptor(long tag)

        Converts tag value to tagged property

        Parameters:
        tag - tag value of a tag property
      • op_Inequality

        public static boolean op_Inequality(PidTagPropertyDescriptor pd1,
                            PropertyDescriptor pd2)

        Determines whether the specified objects are not equal to each another.

        Parameters:
        pd1 - The object to compare with another object.
        pd2 - The object to compare with another object.
        Returns:
        true if the specified PropertyDescriptor is not equal to the another PropertyDescriptor; otherwise, false.
      • equals

        public boolean equals(Object other)

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

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<PropertyDescriptor>
        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with the current object.
        Returns:
        true if the specified System.Object is equal to the current System.Object; otherwise, false.
      • equals

        public boolean equals(PropertyDescriptor other)

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

        Specified by:
        equals in class PropertyDescriptor
        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • hashCode

        public int hashCode()

        Serves as a hash function for a type.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for the current object.
      • toString

        public String toString()

        Returns a string that represents the property description.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the property description.