SetProperty

SetProperty (1 of 8)

Set the property.

Returns: void Aspose::Email::Mapi::

SetProperty(int64_t tag, System::ArrayPtr< uint8_t > data)
ParameterDescription
tagThe tag.
dataThe property data.

SetProperty (2 of 8)

Set the datetime property.

Returns: void Aspose::Email::Mapi::

SetProperty(int64_t tag, System::DateTime dateTime)
ParameterDescription
tagThe tag.
dateTimeThe dateTime.

SetProperty (3 of 8)

Set the string property with CurrentEncoding

Returns: void Aspose::Email::Mapi::

SetProperty(int64_t tag, System::String value)
ParameterDescription
tagThe tag.
valueThe property value.

SetProperty (4 of 8)

Set the string property.

Returns: void Aspose::Email::Mapi::

SetProperty(int64_t tag, System::String value, bool isUnicode)
ParameterDescription
tagThe tag.
valueThe property value.
isUnicodeIf true, the Unicode encoding is used, otherwise the CurrentEncoding.

SetProperty (5 of 8)

Set the string property.

Returns: void Aspose::Email::Mapi::

SetProperty(int64_t tag, System::String value, OutlookMessageFormat format)
ParameterDescription
tagThe tag.
valueThe property value.
formatThe type of encoding. If format == Unicode, the Unicode encoding is used, otherwise the CurrentEncoding.

SetProperty (6 of 8)

Set the string property.

Returns: void Aspose::Email::Mapi::

SetProperty(int64_t tag, System::String value, System::SharedPtr < System::Text::Encoding > nonUnicodeEncoding)
ParameterDescription
tagThe tag.
valueThe property value.
nonUnicodeEncodingIf message is Unicode, the Unicode encoding is used, otherwise the nonUnicodeEncoding.

SetProperty (7 of 8)

Sets the property.

Returns: virtual void Aspose::Email::Mapi::

SetProperty(System::SharedPtr < MapiProperty > value)
ParameterDescription
valueThe property.

SetProperty (8 of 8)

Sets MAPI property.

Returns: virtual void Aspose::Email::Mapi::

SetProperty(System::SharedPtr < PropertyDescriptor > pd, System::SharedPtr < System::Object > value)
ParameterDescription
pdThe property descriptor.
valueThe property data.