Represents the mapi property. More...
Inherits Object.
Inherited by Aspose::Email::Mapi::MapiLazyRtfProperty, Aspose::Email::Mapi::MapiNamedProperty, and Aspose::Email::Mapi::MapiObjectProperty.
Public Member Functions | |
virtual System::String | get_PropertyTagName () |
Gets the PropertyName. More... | |
virtual System::String | get_Name () |
Gets the name. More... | |
virtual int64_t | get_Identifier () |
Gets the indifier. More... | |
virtual int64_t | get_Tag () |
Gets the tag. More... | |
virtual int32_t | get_DataType () |
Gets the data type. More... | |
virtual System::ArrayPtr< uint8_t > | get_Data () |
Gets the binary data. More... | |
virtual void | set_Data (System::ArrayPtr< uint8_t > value) |
Gets the binary data. More... | |
System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object > > > | get_MVEntries () |
Gets the MV entries list. More... | |
virtual bool | get_IsSigned () |
Indicates whether the binary data is signed. More... | |
virtual void | set_IsSigned (bool value) |
Indicates whether the binary data is signed. More... | |
bool | get_IsNamed () |
Indicates whether the property is a named property. More... | |
System::SharedPtr< PropertyDescriptor > | get_Descriptor () |
Gets descriptor of MAPI property More... | |
MapiProperty (int64_t tag, System::ArrayPtr< uint8_t > data) | |
Initializes a new instance of the MapiProperty class. More... | |
MapiProperty (int64_t tag) | |
Initializes a new instance of the MapiProperty class. More... | |
MapiProperty (System::SharedPtr< PidTagPropertyDescriptor > pd, System::SharedPtr< System::Object > data) | |
Initializes a new instance of the MapiProperty class. More... | |
MapiProperty (System::SharedPtr< PidLidPropertyDescriptor > pd, System::SharedPtr< System::Object > data) | |
Initializes a new instance of the MapiProperty class. More... | |
MapiProperty (System::SharedPtr< PidTagPropertyDescriptor > pd, System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> values) | |
MapiProperty (int64_t tag, System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> values) | |
Initializes a new instance of the MapiProperty class. This overload is used to create a multiple valued property, PT_MV_*. More... | |
MapiProperty (int64_t tag, int64_t signedParam, System::ArrayPtr< uint8_t > data) | |
Initializes a new instance of the MapiProperty class. More... | |
MapiProperty (System::String name, int64_t tag, int64_t signedParam, System::ArrayPtr< uint8_t > data) | |
Initializes a new instance of the MapiProperty class. More... | |
virtual int64_t | GetLong () |
Gets the first 8 bytes of the binary data as long. More... | |
virtual int32_t | GetInt32 () |
Gets the first 4 bytes of the binary data as int32. More... | |
virtual int16_t | GetShort () |
Gets the first 2 bytes of the binary data as short. More... | |
virtual bool | GetBoolean () |
Gets the first bytes of the binary data as boolean. More... | |
virtual System::DateTime | GetDateTime () |
Gets the first bytes of the binary data as datetime. More... | |
virtual System::String | GetString () |
Gets the binary data as string. More... | |
System::SharedPtr< System::Object > | GetValue () |
Gets value as object More... | |
virtual System::Decimal | GetCurrency () |
Gets the Currency as string using the specified code page. More... | |
virtual System::String | GetString (int32_t codepage) |
Gets the binary data as string using the specified code page. More... | |
virtual System::DateTime | GetFloatingDate () |
Gets the bytes of the binary data as DateTime. More... | |
virtual System::Guid | GetGuid () |
Gets the bytes of the binary data as Guid. More... | |
virtual double | GetDouble () |
Gets the bytes of the binary data as double. More... | |
virtual float | GetFloat () |
Gets the bytes of the binary data as float. More... | |
int32_t | GetSizeByType () |
void | SetData (System::ArrayPtr< uint8_t > data) |
Sets the data. More... | |
void | SetValue (System::SharedPtr< System::Object > value) |
Sets the value. More... | |
void | SetValue (System::SharedPtr< System::Object > value, System::SharedPtr< System::Globalization::DateTimeFormatInfo > dateTimeFormatInfo) |
Sets the value. More... | |
void | SetDataLong (int64_t byteCount) |
Sets the data long. More... | |
void | SetTag (int64_t tag) |
Sets the tag. More... | |
void | SetDataLong (int64_t byteCount, int64_t delimiter) |
Sets the data long. More... | |
void | SetDataFileTime (System::DateTime t) |
Sets the data file time. More... | |
void | SetDataWithoutCopy (System::ArrayPtr< uint8_t > data) |
Sets the data without copy. More... | |
void | SetName (System::String name) |
Sets the name. More... | |
bool | IsComplex () |
virtual System::SharedPtr< MapiProperty > | Clone () |
void | AddMVEntries (System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> entries) |
Add entries to MVEntries More... | |
System::String | ToString () const override |
Returns a T:System::String that represents the current T:System::Object. More... | |
Static Public Member Functions | |
static System::SharedPtr< MapiProperty > | CreateMapiPropertyFromLong (int64_t tag, int64_t data) |
Creates the mapi property from long. More... | |
static System::SharedPtr< MapiProperty > | CreateMapiPropertyFromLong (int64_t tag, int64_t data, int64_t delimiter) |
Creates the mapi property from long. More... | |
static System::SharedPtr< MapiProperty > | CreateMapiPropertyFromBytes (int64_t tag, System::ArrayPtr< uint8_t > data) |
Creates the mapi property from bytes. More... | |
static System::SharedPtr< MapiProperty > | FromString (int64_t tag, System::String str, System::SharedPtr< System::Text::Encoding > enc) |
Creates the mapi property from string. More... | |
static System::SharedPtr< MapiProperty > | CreateMapiPropertyFromDateTime (int64_t tag, System::DateTime data) |
Creates the mapi property from date time. More... | |
static bool | IsComplex (int64_t dataType) |
static System::ArrayPtr< uint8_t > | GetBytes (System::DateTime dateTime) |
Static Public Attributes | |
static constexpr int32_t | PT_SHORT = 0x0002 |
static constexpr int32_t | PT_LONG = 0x0003 |
static constexpr int32_t | PT_ERROR = 0x000A |
static constexpr int32_t | PT_BOOLEAN = 0x000B |
static constexpr int32_t | PT_OBJECT = 0x000D |
static constexpr int32_t | PT_LONGLONG = 0x0014 |
static constexpr int32_t | PT_STRING8 = 0x001E |
static constexpr int32_t | PT_UNICODE = 0x001F |
static constexpr int32_t | PT_SYSTIME = 0x0040 |
static constexpr int32_t | PT_CLSID = 0x0048 |
static constexpr int32_t | PT_SRESTRICTION = 0x00FD |
static constexpr int32_t | PT_ACTIONS = 0x00FE |
static constexpr int32_t | PT_BINARY = 0x0102 |
static constexpr int32_t | PT_MV_xxx = 0x1000 |
static constexpr int32_t | PT_APPTIME = 0x0007 |
static constexpr int32_t | PT_CURRENCY = 0x0006 |
static constexpr int32_t | PT_DOUBLE = 0x0005 |
static constexpr int32_t | PT_FLOAT = 0x0004 |
static constexpr int32_t | PT_MV_CLSID = 0x1048 |
static constexpr int32_t | PT_MV_SYSTIME = 0x1040 |
static constexpr int32_t | PT_MV_LONGLONG = 0x1014 |
static constexpr int32_t | PT_MV_APPTIME = 0x1007 |
static constexpr int32_t | PT_MV_CURRENCY = 0x1006 |
static constexpr int32_t | PT_MV_DOUBLE = 0x1005 |
static constexpr int32_t | PT_MV_FLOAT = 0x1004 |
static constexpr int32_t | PT_MV_LONG = 0x1003 |
static constexpr int32_t | PT_MV_SHORT = 0x1002 |
static constexpr int32_t | PT_MV_STRING8 = 0x101E |
static constexpr int32_t | PT_MV_UNICODE = 0x101F |
static constexpr int32_t | PT_MV_BOOLEAN = 0x100B |
static constexpr int32_t | PT_MV_BINARY = 0x1102 |
static constexpr int32_t | PT_SVREID = 0x00FB |
static constexpr int32_t | PT_UNSPECIFIED = 0x0000 |
static constexpr int32_t | PT_NULL = 0x0001 |
static constexpr int32_t | CurrencyMultiplier = 10000 |
static constexpr int64_t | Signed = 0x00000006 |
static constexpr int64_t | Unsigned = 0x00000002 |
Protected Member Functions | |
MapiProperty () | |
Initializes a new instance of the MapiProperty class. More... | |
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (MapiProperty, CODEPORTING_ARGS()) | |
virtual | ~MapiProperty () |
Protected Attributes | |
int64_t | signedFlag |
int64_t | tag |
System::ArrayPtr< uint8_t > | data |
Represents the mapi property.
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | int64_t | tag, |
System::ArrayPtr< uint8_t > | data | ||
) |
Initializes a new instance of the MapiProperty class.
tag | The tag key of the property. |
data | The binary data of the property. |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | int64_t | tag | ) |
Initializes a new instance of the MapiProperty class.
tag | The tag key of the property. |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | System::SharedPtr< PidTagPropertyDescriptor > | pd, |
System::SharedPtr< System::Object > | data | ||
) |
Initializes a new instance of the MapiProperty class.
pd | Property descriptor |
data | The data of the property. |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | System::SharedPtr< PidLidPropertyDescriptor > | pd, |
System::SharedPtr< System::Object > | data | ||
) |
Initializes a new instance of the MapiProperty class.
pd | Property descriptor |
data | The data of the property. |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | System::SharedPtr< PidTagPropertyDescriptor > | pd, |
System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> | values | ||
) |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | int64_t | tag, |
System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> | values | ||
) |
Initializes a new instance of the MapiProperty class. This overload is used to create a multiple valued property, PT_MV_*.
tag | The property tag. |
values | The values. |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | int64_t | tag, |
int64_t | signedParam, | ||
System::ArrayPtr< uint8_t > | data | ||
) |
Initializes a new instance of the MapiProperty class.
tag | The property tag. |
signedParam | The signed. |
data | The property data. |
Aspose::Email::Mapi::MapiProperty::MapiProperty | ( | System::String | name, |
int64_t | tag, | ||
int64_t | signedParam, | ||
System::ArrayPtr< uint8_t > | data | ||
) |
Initializes a new instance of the MapiProperty class.
name | The name. |
tag | The tag key of the property. |
signedParam | Indicates the data is signed or not. |
data | The binary data of the property. |
|
protected |
Initializes a new instance of the MapiProperty class.
|
protectedvirtual |
void Aspose::Email::Mapi::MapiProperty::AddMVEntries | ( | System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> | entries | ) |
Add entries to MVEntries
|
virtual |
|
static |
Creates the mapi property from bytes.
tag | The tag. |
data | The data. |
|
static |
Creates the mapi property from date time.
tag | The tag. |
data | The data. |
|
static |
Creates the mapi property from long.
tag | The tag. |
data | The data. |
|
static |
Creates the mapi property from long.
tag | The tag. |
data | The data. |
delimiter | The delimiter. |
|
static |
Creates the mapi property from string.
tag | The tag. |
str | The string. |
enc | The encoding. |
|
virtual |
Gets the binary data.
Reimplemented in Aspose::Email::Mapi::MapiLazyRtfProperty.
|
virtual |
Gets the data type.
System::SharedPtr<PropertyDescriptor> Aspose::Email::Mapi::MapiProperty::get_Descriptor | ( | ) |
Gets descriptor of MAPI property
|
virtual |
Gets the indifier.
bool Aspose::Email::Mapi::MapiProperty::get_IsNamed | ( | ) |
Indicates whether the property is a named property.
|
virtual |
Indicates whether the binary data is signed.
System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<System::Object> > > Aspose::Email::Mapi::MapiProperty::get_MVEntries | ( | ) |
Gets the MV entries list.
|
virtual |
Gets the name.
|
virtual |
Gets the PropertyName.
|
virtual |
Gets the tag.
|
virtual |
Gets the first bytes of the binary data as boolean.
|
static |
|
virtual |
Gets the Currency as string using the specified code page.
|
virtual |
Gets the first bytes of the binary data as datetime.
|
virtual |
Gets the bytes of the binary data as double.
|
virtual |
Gets the bytes of the binary data as float.
|
virtual |
Gets the bytes of the binary data as DateTime.
|
virtual |
Gets the bytes of the binary data as Guid.
|
virtual |
Gets the first 4 bytes of the binary data as int32.
|
virtual |
Gets the first 8 bytes of the binary data as long.
|
virtual |
Gets the first 2 bytes of the binary data as short.
int32_t Aspose::Email::Mapi::MapiProperty::GetSizeByType | ( | ) |
|
virtual |
Gets the binary data as string.
|
virtual |
Gets the binary data as string using the specified code page.
codepage | The code page. |
System::SharedPtr<System::Object> Aspose::Email::Mapi::MapiProperty::GetValue | ( | ) |
Gets value as object
bool Aspose::Email::Mapi::MapiProperty::IsComplex | ( | ) |
|
static |
|
protected |
|
virtual |
Gets the binary data.
|
virtual |
Indicates whether the binary data is signed.
void Aspose::Email::Mapi::MapiProperty::SetData | ( | System::ArrayPtr< uint8_t > | data | ) |
Sets the data.
data | The data. |
void Aspose::Email::Mapi::MapiProperty::SetDataFileTime | ( | System::DateTime | t | ) |
Sets the data file time.
t | The t. |
void Aspose::Email::Mapi::MapiProperty::SetDataLong | ( | int64_t | byteCount | ) |
Sets the data long.
byteCount | The byte count. |
void Aspose::Email::Mapi::MapiProperty::SetDataLong | ( | int64_t | byteCount, |
int64_t | delimiter | ||
) |
Sets the data long.
byteCount | The byte count. |
delimiter | The delimiter. |
void Aspose::Email::Mapi::MapiProperty::SetDataWithoutCopy | ( | System::ArrayPtr< uint8_t > | data | ) |
Sets the data without copy.
data | The data. |
void Aspose::Email::Mapi::MapiProperty::SetName | ( | System::String | name | ) |
Sets the name.
name | The name. |
void Aspose::Email::Mapi::MapiProperty::SetTag | ( | int64_t | tag | ) |
Sets the tag.
tag | The tag. |
void Aspose::Email::Mapi::MapiProperty::SetValue | ( | System::SharedPtr< System::Object > | value | ) |
Sets the value.
value | The data. |
void Aspose::Email::Mapi::MapiProperty::SetValue | ( | System::SharedPtr< System::Object > | value, |
System::SharedPtr< System::Globalization::DateTimeFormatInfo > | dateTimeFormatInfo | ||
) |
Sets the value.
value | The data. |
dateTimeFormatInfo | DateTime format provider. |
|
override |
Returns a T:System::String that represents the current T:System::Object.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |
|
protected |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
protected |
|
protected |
|
staticconstexpr |