共用方式為


LookupEntryCollection.GetById method

傳回Id值所指定的對應項目。

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'宣告
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As LookupEntry
'用途
Dim instance As LookupEntryCollection
Dim objectId As String
Dim returnValue As LookupEntry

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

參數

傳回值

Type: Microsoft.ProjectServer.Client.LookupEntry
查詢項目物件。

請參閱

參照

LookupEntryCollection class

LookupEntryCollection members

Microsoft.ProjectServer.Client namespace