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 類別