PropertyCollection.IndexOf 方法
集合中取得指定之屬性的索引。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Public Function IndexOf ( _
property As Property _
) As Integer
'用途
Dim instance As PropertyCollection
Dim property As [Property]
Dim returnValue As Integer
returnValue = instance.IndexOf(property)
public int IndexOf(
Property property
)
參數
property
類型:Microsoft.Office.Project.Server.Library.Property若要搜尋的屬性。
傳回值
類型:System.Int32
指定之屬性的索引。