EventHandlerCollection.Add method

Adds the event handler that is specified by the EventHandlerCreationInformation object to the collection.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function Add ( _
    parameters As EventHandlerCreationInformation _
) As EventHandler
'Usage
Dim instance As EventHandlerCollection
Dim parameters As EventHandlerCreationInformation
Dim returnValue As EventHandler

returnValue = instance.Add(parameters)
[RemoteAttribute]
public EventHandler Add(
    EventHandlerCreationInformation parameters
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.EventHandler
The event handler registration information.

See also

Reference

EventHandlerCollection class

EventHandlerCollection members

Microsoft.ProjectServer.Client namespace