EventHandlerCollection.Remove 方法
從集合中移除指定的事件處理常式。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Function Remove ( _
handler As EventHandler _
) As ClientResult(Of Boolean)
'用途
Dim instance As EventHandlerCollection
Dim handler As EventHandler
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(handler)
[RemoteAttribute]
public ClientResult<bool> Remove(
EventHandler handler
)
參數
handler
類型:Microsoft.ProjectServer.Client.EventHandler若要移除之事件處理常式。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
True如果物件已移除從集合 ;否則,請False。