Aspose::Email::Mapi::MapiPropertyStream Class Referenceabstract

Represents the property stream. More...

Inherits Aspose::Email::Mapi::MapiPropertyContainer.

Inherited by Aspose::Email::Mapi::MapiAttachmentPropertyStream, Aspose::Email::Mapi::MapiMessagePropertyStream, and Aspose::Email::Mapi::MapiRecipientPropertyStream.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::String get_Name ()
 Gets the name. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyCollectionget_Properties ()
 Gets the collection of properties. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Objectget_Content ()
 Gets the content. More...
 
- Public Member Functions inherited from Aspose::Email::Mapi::MapiPropertyContainer
virtual ASPOSE_EMAIL_SHARED_API int32_t get_CodePage ()
 Gets the code page. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Text::Encoding > get_CurrentEncoding ()
 
ASPOSE_EMAIL_SHARED_API MapiPropertyContainer ()
 Initializes a new instance of the MapiPropertyContainer class. More...
 
ASPOSE_EMAIL_SHARED_API MapiPropertyContainer (System::SharedPtr< MapiPropertyCollection > properties)
 Initializes a new instance of the MapiPropertyContainer class. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyGetProperty (System::SharedPtr< PropertyDescriptor > pd)
 Gets MAPI property by property descriptor. More...
 
virtual ASPOSE_EMAIL_SHARED_API void SetProperty (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value)
 Sets MAPI property. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyCollectionGetSubStorages ()
 
ASPOSE_EMAIL_SHARED_API System::String TryGetPropertyString (int64_t tag, int32_t codepage)
 Try to get a property data as string with specified tag and code page. More...
 
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > TryGetPropertyData (int64_t tag)
 Try to get the property data with specified tag key. More...
 
ASPOSE_EMAIL_SHARED_API System::String TryGetPropertyString (int64_t tag)
 Try to get a property data as string with specified tag. More...
 
ASPOSE_EMAIL_SHARED_API System::String GetPropertyString (int64_t tag, int32_t codepage)
 Gets the string value of the property specified by tag. More...
 
ASPOSE_EMAIL_SHARED_API System::String GetPropertyString (int64_t tag)
 Gets the string value of the property specified by tag. More...
 
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > GetPropertyBytes (int64_t tag)
 Gets the string value of the property specified by tag. More...
 
virtual ASPOSE_EMAIL_SHARED_API void SetProperty (System::SharedPtr< MapiProperty > value)
 Sets the property. More...
 
ASPOSE_EMAIL_SHARED_API System::Nullable< int32_t > GetPropertyInt32 (int64_t tag)
 Gets the int32 value of the property specified by tag. More...
 
ASPOSE_EMAIL_SHARED_API System::Nullable< int64_t > GetPropertyLong (int64_t tag)
 Gets the value of the property specified by tag as Long (int64) type. More...
 
ASPOSE_EMAIL_SHARED_API System::Nullable< int16_t > GetPropertyShort (int64_t tag)
 Gets the value of the property specified by tag as Short type. More...
 
ASPOSE_EMAIL_SHARED_API System::Nullable< bool > GetPropertyBoolean (int64_t tag)
 Gets the value of the property specified by tag as Boolean type. More...
 
ASPOSE_EMAIL_SHARED_API System::Nullable< System::DateTime > GetPropertyDateTime (int64_t key)
 Gets the value of the property specified by tag as DateTime type. More...
 
ASPOSE_EMAIL_SHARED_API bool IsStoreUnicodeOk ()
 Determines if string properties are Unicode encoded or not. More...
 
ASPOSE_EMAIL_SHARED_API bool TryGetPropertyString (int64_t tag, System::String &value, int32_t codepage)
 Gets the value of the specified property as String type. A return value indicates whether the operation succeeded. More...
 
ASPOSE_EMAIL_SHARED_API bool TryGetPropertyString (int64_t tag, System::String &value)
 Gets the value of the specified property as String type. A return value indicates whether the operation succeeded. More...
 
ASPOSE_EMAIL_SHARED_API bool TryGetPropertyDateTime (int64_t tag, System::DateTime &value)
 Gets the value of the specified property as DateTime type. A return value indicates whether the operation succeeded. More...
 
ASPOSE_EMAIL_SHARED_API bool TryGetPropertyLong (int64_t tag, int64_t &value)
 Gets the value of the specified property as Long type. A return value indicates whether the operation succeeded. More...
 
ASPOSE_EMAIL_SHARED_API bool TryGetPropertyInt32 (int64_t tag, int32_t &value)
 Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< Nodes::IMapiNode > CreateMapiNode (System::String key)
 Creates the mapi node. More...
 
ASPOSE_EMAIL_SHARED_API void SetProperty (int64_t tag, System::ArrayPtr< uint8_t > data)
 Set the property. More...
 
ASPOSE_EMAIL_SHARED_API void SetProperty (int64_t tag, System::String value, OutlookMessageFormat format)
 Set the string property. More...
 
ASPOSE_EMAIL_SHARED_API void SetProperty (int64_t tag, System::String value, bool isUnicode)
 Set the string property. More...
 
ASPOSE_EMAIL_SHARED_API void SetProperty (int64_t tag, System::String value, System::SharedPtr< System::Text::Encoding > nonUnicodeEncoding)
 Set the string property. More...
 
ASPOSE_EMAIL_SHARED_API void SetProperty (int64_t tag, System::String value)
 Set the string property with CurrentEncoding More...
 
ASPOSE_EMAIL_SHARED_API void SetProperty (int64_t tag, System::DateTime dateTime)
 Set the datetime property. More...
 
ASPOSE_EMAIL_SHARED_API void SetPropertyLong (int64_t tag, int64_t value)
 Set the long property. More...
 

Static Public Member Functions

static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > ToBytes (int64_t value)
 
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > GetDataForStream (System::SharedPtr< MapiProperty > prop)
 

Protected Member Functions

virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::IO::MemoryStream > GetContent ()=0
 Gets the content. More...
 

Additional Inherited Members

- Public Attributes inherited from Aspose::Email::Mapi::MapiPropertyContainer
int32_t codePage
 
System::SharedPtr< MapiPropertyCollectionpropertyDictionary
 
- Static Public Attributes inherited from Aspose::Email::Mapi::MapiPropertyContainer
static const ASPOSE_EMAIL_SHARED_API int32_t DefaultCodePage
 

Detailed Description

Represents the property stream.

Member Function Documentation

◆ get_Content()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Object> Aspose::Email::Mapi::MapiPropertyStream::get_Content ( )

Gets the content.

The content.

◆ get_Name()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::MapiPropertyStream::get_Name ( )

Gets the name.

The name.

◆ get_Properties()

virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiPropertyCollection> Aspose::Email::Mapi::MapiPropertyStream::get_Properties ( )
virtual

Gets the collection of properties.

The properties.

Reimplemented from Aspose::Email::Mapi::MapiPropertyContainer.

◆ GetContent()

virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::IO::MemoryStream> Aspose::Email::Mapi::MapiPropertyStream::GetContent ( )
protectedpure virtual

◆ GetDataForStream()

static ASPOSE_EMAIL_SHARED_API System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiPropertyStream::GetDataForStream ( System::SharedPtr< MapiProperty prop)
static

◆ ToBytes()

static ASPOSE_EMAIL_SHARED_API System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiPropertyStream::ToBytes ( int64_t  value)
static