PropertyAccessor.StringToBinary Method (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Converts a string specified by Value to an array of bytes.

expression .StringToBinary(Value)

expression A variable that represents a PropertyAccessor object.

Parameters

Name

Required/Optional

Data Type

Description

Value

Required

String

A hexadecimal string value that is to be converted to an array of bytes.

Return Value

A Variant value that represents an array of bytes returned from the conversion.

For more information on type conversion when using the PropertyAccessor object, see Best Practices for Getting and Setting Properties.

Show: