EventSource.RemoveSolitaryHandler<T>(T, List<T>, Delegate, String) Método

Definição

Remove um único manipulador de eventos para um evento.

protected static void RemoveSolitaryHandler<T> (T primaryEventSource, ref System.Collections.Generic.List<T> secondaryEventSources, Delegate handler, string key = "") where T : Microsoft.VisualStudio.Shell.Events.EventSource;
static member RemoveSolitaryHandler : 'T * List * Delegate * string -> unit (requires 'T :> Microsoft.VisualStudio.Shell.Events.EventSource)
Protected Shared Sub RemoveSolitaryHandler(Of T As EventSource) (primaryEventSource As T, ByRef secondaryEventSources As List(Of T), handler As Delegate, Optional key As String = "")

Parâmetros de tipo

T

O tipo de EventSource-derivado que expõe eventos gerenciados para eventos COM do Shell.

Parâmetros

primaryEventSource
T

A instância primária do T .

secondaryEventSources
List<T>

A coleção de instâncias secundárias do T .

handler
Delegate

O manipulador de eventos a ser adicionado.

key
String

a chave que identifica o evento a ser manipulado

Aplica-se a