public class PidTagPropertyDescriptor extends PropertyDescriptor
Class contains property description information.
Constructor and 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(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,
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(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. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Determines whether the specified System.Object is equal to the current System.Object.
|
boolean |
equals(PropertyDescriptor other)
Indicates whether the current object is equal to another object of the same type.
|
int |
getId()
Gets an unsigned 16-bit quantity that identifies a tagged property.
|
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.
|
int |
hashCode()
Serves as a hash function for a type.
|
static boolean |
op_Equality(PidTagPropertyDescriptor pd1,
PropertyDescriptor pd2)
Determines whether the specified objects are equal to each another.
|
static boolean |
op_Inequality(PidTagPropertyDescriptor pd1,
PropertyDescriptor pd2)
Determines whether the specified objects are not equal to each another.
|
static PidTagPropertyDescriptor |
to_PidTagPropertyDescriptor(long tag)
Converts tag value to tagged property
|
String |
toString()
Returns a string that represents the property description.
|
getCanonicalName, getDataType, getInstance, getInstance, getInstance, getInstance, getInstance, getMultipleValuesDataType, getName, getUse8BitStringAsUnicode, op_Equality, op_Inequality, parse, setUse8BitStringAsUnicode
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
id
- Unsigned 16-bit quantity that identifies a tagged property.type
- Specifies the type of values allowed for the property.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
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.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
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.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
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 15public 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
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 15public 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.
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.
public static boolean op_Equality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2)
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.public static PidTagPropertyDescriptor to_PidTagPropertyDescriptor(long tag)
Converts tag value to tagged property
tag
- tag value of a tag propertypublic static boolean op_Inequality(PidTagPropertyDescriptor pd1, PropertyDescriptor pd2)
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.public boolean equals(Object other)
Determines whether the specified System.Object is equal to the current System.Object.
equals
in interface com.aspose.ms.System.IEquatable<PropertyDescriptor>
equals
in class Object
obj
- The object to compare with the current object.public boolean equals(PropertyDescriptor other)
Indicates whether the current object is equal to another object of the same type.
equals
in class PropertyDescriptor
other
- An object to compare with this object.public int hashCode()
Serves as a hash function for a type.