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
parameters
Type: Microsoft.ProjectServer.Client.EventHandlerCreationInformationThe properties of the event handler to create.
Return value
Type: Microsoft.ProjectServer.Client.EventHandler
The event handler registration information.