Share via


MmcListViewColumnCollection.IndexOf Method (MmcListViewColumn)

 

Determines the index of a specific column in the collection.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public int IndexOf(
    MmcListViewColumn column
)
public:
int IndexOf(
    MmcListViewColumn^ column
)
member IndexOf : 
        column:MmcListViewColumn -> int
Public Function IndexOf (
    column As MmcListViewColumn
) As Integer

Parameters

Return Value

Type: System.Int32

If the column is in the collection, this value is its index; otherwise, this value is -1.

See Also

MmcListViewColumnCollection Class
Microsoft.ManagementConsole Namespace

Return to top