PidTagPropertyDescriptor

Inheritance: java.lang.Object, com.aspose.email.PropertyDescriptor

public class PidTagPropertyDescriptor extends PropertyDescriptor

Class contains property description information.

Constructors

Constructor Description
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.
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.
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.
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.
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.

Methods

Method Description
getId() Gets an unsigned 16-bit quantity that identifies a tagged property.
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(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2) Determines whether the specified objects are equal to each another.
to_PidTagPropertyDescriptor(long tag) Converts tag value to tagged property
op_Inequality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2) Determines whether the specified objects are not equal to each another.
equals(Object other) Determines whether the specified System.Object is equal to the current System.Object.
equals(PropertyDescriptor other) Indicates whether the current object is equal to another object of the same type.
hashCode() Serves as a hash function for a type.
toString() Returns a string that represents the property description.

PidTagPropertyDescriptor(int id, int type)

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 \u2013 0x7FFF. Property IDs in the range 0x8000 \u2013 0x8FFF are reserved for assignment to named properties

Parameters:

Parameter Type Description
id int Unsigned 16-bit quantity that identifies a tagged property.
type int Specifies the type of values allowed for the property.

PidTagPropertyDescriptor(String canonicalName, int id, int type)

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 \u2013 0x7FFF. Property IDs in the range 0x8000 \u2013 0x8FFF are reserved for assignment to named properties

Parameters:

Parameter Type Description
canonicalName java.lang.String The name used to refer to the property in the documentation.
id int Unsigned 16-bit quantity that identifies a tagged property.
type int Specifies the type of values allowed for the property.

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

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 \u2013 0x7FFF. Property IDs in the range 0x8000 \u2013 0x8FFF are reserved for assignment to named properties

Parameters:

Parameter Type Description
canonicalName java.lang.String The name used to refer to the property in the documentation.
name java.lang.String The MAPI name used to refer to the property in the documentation.
id int Unsigned 16-bit quantity that identifies a tagged property.
type int Specifies the type of values allowed for the property.

PidTagPropertyDescriptor(long tag)

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 \u2013 0x7FFF. Property IDs in the range 0x8000 \u2013 0x8FFF are reserved for assignment to named properties

Parameters:

Parameter Type Description
tag long 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(String canonicalName, String name, long tag)

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 \u2013 0x7FFF. Property IDs in the range 0x8000 \u2013 0x8FFF are reserved for assignment to named properties

Parameters:

Parameter Type Description
canonicalName java.lang.String The name used to refer to the property in the documentation.
name java.lang.String The MAPI name used to refer to the property in the documentation.
tag long 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

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.

Returns: int

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.

Returns: long

op_Equality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2)

public static boolean op_Equality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2)

Determines whether the specified objects are equal to each another.

Parameters:

Parameter Type Description
pd1 PidTagPropertyDescriptor The object to compare with another object.
pd2 PropertyDescriptor The object to compare with another object.

Returns: boolean - true if the specified PropertyDescriptor is equal to the another PropertyDescriptor; otherwise, false.

to_PidTagPropertyDescriptor(long tag)

public static PidTagPropertyDescriptor to_PidTagPropertyDescriptor(long tag)

Converts tag value to tagged property

Parameters:

Parameter Type Description
tag long tag value of a tag property

Returns: PidTagPropertyDescriptor

op_Inequality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2)

public static boolean op_Inequality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2)

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

Parameters:

Parameter Type Description
pd1 PidTagPropertyDescriptor The object to compare with another object.
pd2 PropertyDescriptor The object to compare with another object.

Returns: boolean - true if the specified PropertyDescriptor is not equal to the another PropertyDescriptor; otherwise, false.

equals(Object other)

public boolean equals(Object other)

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

Parameters:

Parameter Type Description
other java.lang.Object

Returns: boolean - true if the specified System.Object is equal to the current System.Object; otherwise, false.

equals(PropertyDescriptor other)

public boolean equals(PropertyDescriptor other)

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

Parameters:

Parameter Type Description
other PropertyDescriptor An object to compare with this object.

Returns: boolean - 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.

Returns: int - A hash code for the current object.

toString()

public String toString()

Returns a string that represents the property description.

Returns: java.lang.String - A string that represents the property description.