TimeSheetWorkCollection.GetById 方法
使用**Id()**值從集合中取得的時程表實際工時物件。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Function GetById ( _
objectId As String _
) As TimeSheetWork
'用途
Dim instance As TimeSheetWorkCollection
Dim objectId As String
Dim returnValue As TimeSheetWork
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public TimeSheetWork GetById(
string objectId
)
參數
objectId
類型:System.String時程表實際的字串表示工作的 GUID。
傳回值
類型:Microsoft.ProjectServer.Client.TimeSheetWork
TimesheetWork物件。