Share via


PropertyCollection.IndexOf method

Gets the index of the specified property in the collection.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    property As Property _
) As Integer
'Usage
Dim instance As PropertyCollection
Dim property As [Property]
Dim returnValue As Integer

returnValue = instance.IndexOf(property)
public int IndexOf(
    Property property
)

Parameters

Return value

Type: System.Int32
The index of the specified property.

See also

Reference

PropertyCollection class

PropertyCollection members

Microsoft.Office.Project.Server.Library namespace