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
)
參數
objectId
Type: System.String查閱項 GUID 的字串表示。
傳回值
Type: Microsoft.ProjectServer.Client.LookupEntry
查詢項目物件。