MapiPropertyContainer.TryGetPropertyString
Contents
[
Hide
]TryGetPropertyString(long, int)
Gets the value of a property as a string, decoding an ANSI string with the specified code page.
public string TryGetPropertyString(long tag, int codepage)
| Parameter | Type | Description |
|---|---|---|
| tag | Int64 | The tag of the property. |
| codepage | Int32 | The code page of an ANSI (8-bit) string. |
Return Value
The value, or null if the property does not exist.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
TryGetPropertyString(long)
Gets the value of a property as a string.
public string TryGetPropertyString(long tag)
| Parameter | Type | Description |
|---|---|---|
| tag | Int64 | The tag of the property. |
Return Value
The value, or null if the property does not exist.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
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.
public bool TryGetPropertyString(long tag, ref string value, int codepage)
| Parameter | Type | Description |
|---|---|---|
| tag | Int64 | The tag of the property. |
| value | String& | When this method returns, the value of the property, if it exists; otherwise, the value is unchanged. |
| codepage | Int32 | The code page of an ANSI (8-bit) string. |
Return Value
true if the property exists; otherwise, false.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
TryGetPropertyString(long, ref string)
Gets the value of a property as a string, if the property exists.
public bool TryGetPropertyString(long tag, ref string value)
| Parameter | Type | Description |
|---|---|---|
| tag | Int64 | The tag of the property. |
| value | String& | When this method returns, the value of the property, if it exists; otherwise, the value is unchanged. |
Return Value
true if the property exists; otherwise, false.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email