次の方法で共有


PublishedProjectResourceCollection.GetById メソッド

Idの値を使用して、コレクションからリソースを取得します。

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

構文

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

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

パラメーター

  • objectId
    型: System.String

    リソースの GUID の文字列表現。

戻り値

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

関連項目

参照先

PublishedProjectResourceCollection クラス

PublishedProjectResourceCollection メンバー

Microsoft.ProjectServer.Client 名前空間