次の方法で共有


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 名前空間