public class PropertyId extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<PropertyId>
Gets the identity of a property and the size and location of the data for the property.
Constructor and Description |
---|
PropertyId(int id,
byte type)
Initializes a new instance of the
PropertyId class. |
PropertyId(int id,
byte type,
boolean val)
Initializes a new instance of the
PropertyId class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The equals.
|
boolean |
equals(PropertyId other)
The equals.
|
boolean |
getBoolValue()
Gets the value of a Boolean property.
|
int |
getId()
Gets the identity of this property.
|
long |
getStructSize()
Gets the struct size.
|
byte |
getType()
Gets the property type and the size and location of the data for this property.
|
int |
hashCode()
The get hash code.
|
static boolean |
op_Equality(PropertyId x,
PropertyId y)
The ==.
|
static boolean |
op_Inequality(PropertyId x,
PropertyId y)
The !=.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public PropertyId(int id, byte type, boolean val)
Initializes a new instance of the PropertyId
class.
id
- The id.type
- The type.val
- The val.public PropertyId(int id, byte type)
Initializes a new instance of the PropertyId
class.
id
- The id.type
- The type.public int getId()
Gets the identity of this property.
public byte getType()
Gets the property type and the size and location of the data for this property.
public boolean getBoolValue()
Gets the value of a Boolean property. Must be false if the value of the type field is not equal to 0x2.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.com.aspose.ms.System.InvalidOperationException
public boolean equals(Object obj)
The equals.
equals
in interface com.aspose.ms.System.IEquatable<PropertyId>
equals
in class Object
public static boolean op_Equality(PropertyId x, PropertyId y)
The ==.
x
- The x.y
- The y.public static boolean op_Inequality(PropertyId x, PropertyId y)
The !=.
x
- The x.y
- The y.public boolean equals(PropertyId other)
The equals.
other
- The other.bool
.public int hashCode()
The get hash code.
Copyright (c) 2017 Aspose. All Rights Reserved.