GenericTypeParameterBuilder.GetEvent(String, BindingFlags) 方法

定義

不支援不完整的泛型型別參數。

public:
 override System::Reflection::EventInfo ^ GetEvent(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.EventInfo GetEvent (string name, System.Reflection.BindingFlags bindingAttr);
override this.GetEvent : string * System.Reflection.BindingFlags -> System.Reflection.EventInfo
Public Overrides Function GetEvent (name As String, bindingAttr As BindingFlags) As EventInfo

參數

name
String

不支援。

bindingAttr
BindingFlags

不支援。

傳回

不支援不完整的泛型型別參數。

例外狀況

在所有情況下。

備註

不完整的泛型型別參數不支援這個方法。 從已完成的泛型型別定義擷取型別參數,然後在擷取的類型上使用反映。

適用於