Class MapiPropertyStream
Contents
[
Hide
]MapiPropertyStream class
The base class of the property streams of messages, attachments and recipients: the storage that holds their fixed-size properties.
public abstract class MapiPropertyStream : MapiPropertyContainer
Properties
| Name | Description |
|---|---|
| virtual CodePage { get; } | Gets the code page of the ANSI strings of the object. |
| Content { get; } | Gets the content of the stream. |
| Name { get; } | Gets the name of the stream. |
| override Properties { get; } | Gets the properties held in the stream. |
Methods
| Name | Description |
|---|---|
| virtual GetProperty(PropertyDescriptor) | Gets a MAPI property by its descriptor. |
| GetPropertyBoolean(long) | Gets the value of a property as a Boolean. |
| GetPropertyBytes(long) | Gets the value of a property as bytes. |
| GetPropertyDateTime(long) | Gets the value of a property as a date and time. |
| GetPropertyInt32(long) | Gets the value of a property as a 32-bit integer. |
| GetPropertyLong(long) | Gets the value of a property as a 64-bit integer. |
| GetPropertyShort(long) | Gets the value of a property as a 16-bit integer. |
| GetPropertyString(long) | Gets the value of a property as a string. |
| GetPropertyString(long, int) | Gets the value of a property as a string, decoding an ANSI string with the specified code page. |
| IsStoreUnicodeOk() | Determines whether the string properties of the object are stored in Unicode. |
| virtual SetProperty(MapiProperty) | Adds the property, or replaces the property with the same tag. |
| virtual SetProperty(PropertyDescriptor, object) | Sets the value of a MAPI property, creating the property if needed. |
| TryGetPropertyData(long) | Gets the value of a property as bytes. |
| TryGetPropertyDateTime(long, ref DateTime) | Gets the value of a property as a date and time, if the property exists. |
| TryGetPropertyInt32(long, ref int) | Gets the value of a property as a 32-bit integer, if the property exists. |
| TryGetPropertyLong(long, ref long) | Gets the value of a property as a 64-bit integer, if the property exists. |
| TryGetPropertyString(long) | Gets the value of a property as a string. |
| TryGetPropertyString(long, int) | Gets the value of a property as a string, decoding an ANSI string with the specified code page. |
| TryGetPropertyString(long, ref string) | Gets the value of a property as a string, if the property exists. |
| TryGetPropertyString(long, ref string, int) | Gets the value of a property as a string, if the property exists, decoding an ANSI string with the specified code page. |
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email