Compartilhar via


EventHandlerCollection.Add método

Adiciona o manipulador de evento é especificado pelo objeto EventHandlerCreationInformation à coleção.

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

Sintaxe

'Declaração
<RemoteAttribute> _
Public Function Add ( _
    parameters As EventHandlerCreationInformation _
) As EventHandler
'Uso
Dim instance As EventHandlerCollection
Dim parameters As EventHandlerCreationInformation
Dim returnValue As EventHandler

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

Parâmetros

Valor retornado

Tipo: Microsoft.ProjectServer.Client.EventHandler
As informações de registro do manipulador de eventos.

Ver também

Referência

EventHandlerCollection classe

EventHandlerCollection membros

Microsoft.ProjectServer.Client namespace