共用方式為


_Row.GetValues Method

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function GetValues As Object
'Usage
Dim instance As _Row
Dim returnValue As Object

returnValue = instance.GetValues()
[DispIdAttribute()]
Object GetValues()

Return Value

Type: System.Object
An Object 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

Reference

_Row Interface

_Row Members

Microsoft.Office.Interop.Outlook Namespace