共用方式為


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
)

參數

傳回值

類型:System.Int32
指定之屬性的索引。

請參閱

參照

PropertyCollection 類別

PropertyCollection 成員

Microsoft.Office.Project.Server.Library 命名空間