EventHandlerCollection.Remove method
Removes the specified event handler from the collection.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
handler As EventHandler _
) As ClientResult(Of Boolean)
'Usage
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
)
Parameters
handler
Type: Microsoft.ProjectServer.Client.EventHandlerThe event handler to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.