TryGetPropertyString

TryGetPropertyString (1 of 4)

Try to get a property data as string with specified tag.

Returns: String that contains the contents of property data.

TryGetPropertyString(int64_t tag)
ParameterDescription
tagThe property tag key.

TryGetPropertyString (2 of 4)

Try to get a property data as string with specified tag and code page.

Returns: String that contains the contents of property data.

TryGetPropertyString(int64_t tag, int32_t codepage)
ParameterDescription
tagThe property tag key.
codepageThe code page.

TryGetPropertyString (3 of 4)

Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.

Returns: true if s was converted successfully; otherwise, false.

TryGetPropertyString(int64_t tag, System::String & value)
ParameterDescription
tagThe MAPI property tag.
valueWhen this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized.

TryGetPropertyString (4 of 4)

Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.

Returns: true if s was converted successfully; otherwise, false.

TryGetPropertyString(int64_t tag, System::String & value, int32_t codepage)
ParameterDescription
tagThe MAPI property tag.
valueWhen this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized.
codepageThe specified codepage used to get string value.