public abstract class PropertyDescriptor extends Object implements com.aspose.ms.System.IEquatable<PropertyDescriptor>
Class contains property description information.
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(PropertyDescriptor other)
Indicates whether the current object is equal to another object of the same type.
|
String |
getCanonicalName()
The name used to refer to the property in the documentation.
|
int |
getDataType()
The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property.
|
static PidTagPropertyDescriptor |
getInstance(int id,
int dataType)
Retrieves
PidTagPropertyDescriptor object |
static PidTagPropertyDescriptor |
getInstance(long tag)
Retrieves
PidTagPropertyDescriptor object |
static PidLidPropertyDescriptor |
getInstance(long lid,
int dataType,
UUID propertySet)
Retrieves
PidLidPropertyDescriptor object |
static PropertyDescriptor |
getInstance(MapiProperty property)
Retrieves
PropertyDescriptor object from MAPI property |
static PidNamePropertyDescriptor |
getInstance(String name,
int dataType,
UUID propertySet)
Retrieves
PidNamePropertyDescriptor object |
boolean |
getMultipleValuesDataType()
Indicates if data type contains of multiple values
|
String |
getName()
Gets string that, identifies a property.
|
static boolean |
getUse8BitStringAsUnicode()
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
|
static boolean |
op_Equality(PropertyDescriptor pd1,
PropertyDescriptor pd2)
Determines whether the specified objects are equal to each another.
|
static boolean |
op_Inequality(PropertyDescriptor pd1,
PropertyDescriptor pd2)
Determines whether the specified objects are not equal to each another.
|
static PropertyDescriptor |
parse(String data)
Initializes a new instance of the
PropertyDescriptor class |
static void |
setUse8BitStringAsUnicode(boolean value)
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
|
public static boolean getUse8BitStringAsUnicode()
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
public static void setUse8BitStringAsUnicode(boolean value)
Specifies if PropertyDataType.String8 has to be interpreted as PropertyDataType.String
public static PropertyDescriptor parse(String data)
Initializes a new instance of the PropertyDescriptor
class
data
- A string that represents the property description.public final int getDataType()
The property value type, as described in [MS-OXCDATA], that specifies the type of values allowed for the property.
public final boolean getMultipleValuesDataType()
Indicates if data type contains of multiple values
public final String getCanonicalName()
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: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity.
public final String getName()
Gets string that, identifies a property.
public abstract boolean equals(PropertyDescriptor other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.public static boolean op_Equality(PropertyDescriptor 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 boolean op_Inequality(PropertyDescriptor 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 static PidTagPropertyDescriptor getInstance(int id, int dataType)
Retrieves PidTagPropertyDescriptor
object
id
- Id of a propertydataType
- Data type of a propertyPidTagPropertyDescriptor
objectpublic static PidTagPropertyDescriptor getInstance(long tag)
Retrieves PidTagPropertyDescriptor
object
tag
- Tag of a propertyPidTagPropertyDescriptor
objectpublic static PidLidPropertyDescriptor getInstance(long lid, int dataType, UUID propertySet)
Retrieves PidLidPropertyDescriptor
object
lid
- Long id of a propertydataType
- Data type of a propertypropertySet
- PropertySet of a propertyPidLidPropertyDescriptor
objectpublic static PidNamePropertyDescriptor getInstance(String name, int dataType, UUID propertySet)
Retrieves PidNamePropertyDescriptor
object
name
- Name of a propertydataType
- Data type of a propertypropertySet
- PropertySet of a propertyPidNamePropertyDescriptor
objectpublic static PropertyDescriptor getInstance(MapiProperty property)
Retrieves PropertyDescriptor
object from MAPI property
property
- MapiProperty
object