DraftProjectResourceCollection.GetById 方法
使用Id值從集合取得草稿專案資源。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Function GetById ( _
objectId As String _
) As DraftProjectResource
'用途
Dim instance As DraftProjectResourceCollection
Dim objectId As String
Dim returnValue As DraftProjectResource
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public DraftProjectResource GetById(
string objectId
)
參數
objectId
類型:System.String專案資源 GUID 字串表示。
傳回值
類型:Microsoft.ProjectServer.Client.DraftProjectResource
草稿專案資源。
請參閱
參照
DraftProjectResourceCollection 類別