Row.GetValues method (Outlook)

Obtains a one-dimensional array containing the values for all columns at the Row in the parent Table.

Syntax

expression. GetValues

expression A variable that represents a Row object.

Return value

A Variant that represents an array of values for all the columns at that Row in the Table.

Remarks

GetValues is a helper method that facilitates fetching all the column values in the Row in a single call.

Since the array is zero-based, the length of the array is the number of columns in the Row minus one.

Values returned in the array are of the same type as the values in the parent Table. This means that binary properties in the Table are returned as arrays of bytes. For date-time properties, if a Column is a default column or if it has been added using an explicit built-in property name, then its value in the Table and in the array are expressed in local time. If the Column has been added to the Table using a namespace reference, then its value in the Table and in the array are expressed in Coordinated Universal Time (UTC). For more information on referencing properties by namespace, see Referencing Properties by Namespace.

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.