TimeSheetLineCollection.Remove 方法
從時程表行集合中移除指定的時程表列。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Function Remove ( _
line As TimeSheetLine _
) As ClientResult(Of Boolean)
'用途
Dim instance As TimeSheetLineCollection
Dim line As TimeSheetLine
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(line)
[RemoteAttribute]
public ClientResult<bool> Remove(
TimeSheetLine line
)
參數
line
類型:Microsoft.ProjectServer.Client.TimeSheetLineTimeSheetLine物件。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
已移除True如果時程表行集合 ;否則,請False。