共用方式為


PropertyAccessor.StringToBinary Method (Outlook)

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

Version Information

Version Added: Outlook 2007

Syntax

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.

Remarks

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

See Also

Concepts

PropertyAccessor Object

PropertyAccessor Object Members