Microsoft SDK for Java

ListView.getColumn

Retrieves the column header for the specified column.

Syntax

public final ColumnHeader getColumn( int index )

Parameters

index

The zero-based index for the column whose column header you want to retrieve.

Return Value

Returns a ColumnHeader object that represents the header for the specified column.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid.

Remarks

To retrieve an array containing all the column headers in the list view control, use the getColumns method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.