DraftAssignmentCollection.GetById 方法

Id值与集合中获取一个拔模的赋值语句。

命名空间:  Microsoft.ProjectServer.Client
程序集:  Microsoft.ProjectServer.Client(位于 Microsoft.ProjectServer.Client.dll 中)

语法

声明
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As DraftAssignment
用法
Dim instance As DraftAssignmentCollection
Dim objectId As String
Dim returnValue As DraftAssignment

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

参数

  • objectId
    类型:System.String

    分配的 GUID 的字符串表示形式。

返回值

类型:Microsoft.ProjectServer.Client.DraftAssignment
一个DraftAssignment对象。

另请参阅

引用

DraftAssignmentCollection 类

DraftAssignmentCollection 成员

Microsoft.ProjectServer.Client 命名空间