Share via


ActionsPaneItemCollection.IndexOf Method (ActionsPaneItem)

 

Determines the index of a specific ActionsPaneItem object in the collection.

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

Syntax

public int IndexOf(
    ActionsPaneItem item
)
public:
int IndexOf(
    ActionsPaneItem^ item
)
member IndexOf : 
        item:ActionsPaneItem -> int
Public Function IndexOf (
    item As ActionsPaneItem
) As Integer

Parameters

Return Value

Type: System.Int32

If the actions pane item is in the collection, this value is its index; otherwise, this value is -1.

See Also

ActionsPaneItemCollection Class
Microsoft.ManagementConsole Namespace

Return to top