共用方式為


PropertyCollection.GetProperty 方法

取得具有指定的識別碼的屬性。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
Public Function GetProperty ( _
    winprojPropertyId As Integer _
) As Property
'用途
Dim instance As PropertyCollection
Dim winprojPropertyId As Integer
Dim returnValue As [Property]

returnValue = instance.GetProperty(winprojPropertyId)
public Property GetProperty(
    int winprojPropertyId
)

參數

傳回值

類型:Microsoft.Office.Project.Server.Library.Property
具有指定的識別碼的屬性。

請參閱

參照

PropertyCollection 類別

PropertyCollection 成員

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