次の方法で共有


TimeSheetPeriodCollection.GetById メソッド

タイムシート期間を**Id()**値を使用して、コレクションから取得します。

名前空間:  Microsoft.ProjectServer.Client
アセンブリ:  Microsoft.ProjectServer.Client (Microsoft.ProjectServer.Client.dll 内)

構文

'宣言
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As TimeSheetPeriod
'使用
Dim instance As TimeSheetPeriodCollection
Dim objectId As String
Dim returnValue As TimeSheetPeriod

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public TimeSheetPeriod GetById(
    string objectId
)

パラメーター

  • objectId
    型: System.String

    タイムシート期間の GUID の文字列形式。

戻り値

型: Microsoft.ProjectServer.Client.TimeSheetPeriod
TimesheetPeriodのオブジェクトです。

関連項目

参照先

TimeSheetPeriodCollection クラス

TimeSheetPeriodCollection メンバー

Microsoft.ProjectServer.Client 名前空間