Share via


TracingDataReader.GetValues Method

[This is internal Microsoft documentation - Do not distribute.]

Gets all attribute columns in the collection for the current row.

Namespace: Microsoft.Webstore.Common
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Function GetValues ( _
    values As Object() _
) As Integer
  public int GetValues (
    Object[] values
)

Parameters

  • values
    An array of Object into which to copy the attribute columns.

Return Value

The number of instances of Object in the array.

Remarks

For most applications, this method provides an efficient means for retrieving all columns, rather than retrieving each column individually. You can pass an Object array that contains fewer than the number of columns contained in the resulting row. Only the amount of data the Object array holds is copied to the array. You can also pass an Object array whose length is more than the number of columns contained in the resulting row. This method returns DBNull for null database columns.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

TracingDataReader Class
TracingDataReader Members
Microsoft.Webstore.Common Namespace