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
- property
Type: Microsoft.Office.Project.Server.Library.Property
The property to search for.
Return Value
Type: System.Int32
The index of the specified property.