DraftProjectResourceCollection.Add 方法
添加新的项目资源所指定的ProjectResourceCreationInformation对象添加到收藏。
命名空间: Microsoft.ProjectServer.Client
程序集: Microsoft.ProjectServer.Client(位于 Microsoft.ProjectServer.Client.dll 中)
语法
声明
<RemoteAttribute> _
Public Function Add ( _
parameters As ProjectResourceCreationInformation _
) As DraftProjectResource
用法
Dim instance As DraftProjectResourceCollection
Dim parameters As ProjectResourceCreationInformation
Dim returnValue As DraftProjectResource
returnValue = instance.Add(parameters)
[RemoteAttribute]
public DraftProjectResource Add(
ProjectResourceCreationInformation parameters
)
参数
parameters
类型:Microsoft.ProjectServer.Client.ProjectResourceCreationInformation要创建的项目资源的属性。
返回值
类型:Microsoft.ProjectServer.Client.DraftProjectResource
草稿项目资源中。
另请参阅
引用
DraftProjectResourceCollection 类