Row.BinaryToString Method

Outlook Developer Reference

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

Index

.

Version Information
 Version Added:  Outlook 2007

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