Share via


PropertyPageCollection.IndexOf Method (PropertyPage)

 

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

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

Syntax

public int IndexOf(
    PropertyPage propertyPage
)
public:
int IndexOf(
    PropertyPage^ propertyPage
)
member IndexOf : 
        propertyPage:PropertyPage -> int
Public Function IndexOf (
    propertyPage As PropertyPage
) As Integer

Parameters

Return Value

Type: System.Int32

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

See Also

PropertyPageCollection Class
Microsoft.ManagementConsole Namespace

Return to top