Row.BinaryToString method (Outlook)

Obtains a String representing a value that has been converted from a binary value for the parent Row at the column specified by Index.

Syntax

expression. BinaryToString (Index)

expression A variable that represents a Row object.

Parameters

Name Required/Optional Data type Description
Index Required Variant A 1-based index value that can be either a Long representing the column index for the Columns collection or a String representing the Name of the Column.

Return value

A hexadecimal String value that has been converted from a PT_BINARY value for the parent Row at the column specified by Index. Returns the error, "Cannot convert the column specified by Index to String" if the value specified by Index is not PT_BINARY.

Remarks

Use the helper functions Row.BinaryToString, Row.LocalTimeToUTC, and Row.UTCToLocalTime to facilitate type conversion of column values at a specific row. For more information on property value representation in a Table, see Factors Affecting Property Value Representation in the Table and View Classes.

See also

Row Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.