共用方式為


LifecycleEventService.GetEventDelegates<TDelegate>(String) 方法

定義

public:
generic <typename TDelegate>
 where TDelegate : Delegate virtual System::Collections::Generic::IEnumerable<TDelegate> ^ GetEventDelegates(System::String ^ eventName);
public System.Collections.Generic.IEnumerable<TDelegate> GetEventDelegates<TDelegate> (string eventName) where TDelegate : Delegate;
abstract member GetEventDelegates : string -> seq<'Delegate (requires 'Delegate :> Delegate)> (requires 'Delegate :> Delegate)
override this.GetEventDelegates : string -> seq<'Delegate (requires 'Delegate :> Delegate)> (requires 'Delegate :> Delegate)
Public Function GetEventDelegates(Of TDelegate As Delegate) (eventName As String) As IEnumerable(Of TDelegate)

類型參數

TDelegate

參數

eventName
String

傳回

IEnumerable<TDelegate>

實作

適用於