MapiPropertyContainer.TryGetPropertyString
Contents
[
Hide
]TryGetPropertyString(long, int)
Try to get a property data as string with specified tag and code page.
public string TryGetPropertyString(long tag, int codepage)
Parameter | Type | Description |
---|---|---|
tag | Int64 | The property tag key. |
codepage | Int32 | The code page. |
Return Value
String that contains the contents of property data.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
TryGetPropertyString(long)
Try to get a property data as string with specified tag.
public string TryGetPropertyString(long tag)
Parameter | Type | Description |
---|---|---|
tag | Int64 | The property tag key. |
Return Value
String that contains the contents of property data.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
TryGetPropertyString(long, ref string, int)
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
public bool TryGetPropertyString(long tag, ref string value, int codepage)
Parameter | Type | Description |
---|---|---|
tag | Int64 | The MAPI property tag. |
value | String& | When this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized. |
codepage | Int32 | The specified codepage used to get string value. |
Return Value
true if s was converted successfully; otherwise, false.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
TryGetPropertyString(long, ref string)
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
public bool TryGetPropertyString(long tag, ref string value)
Parameter | Type | Description |
---|---|---|
tag | Int64 | The MAPI property tag. |
value | String& | When this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized. |
Return Value
true if s was converted successfully; otherwise, false.
See Also
- class MapiPropertyContainer
- namespace Aspose.Email.Mapi
- assembly Aspose.Email