Szerkesztés

Megosztás a következőn keresztül:


GenericTypeParameterBuilder.GetEvent(String, BindingFlags) Method

Definition

Not supported for incomplete generic type parameters.

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

Parameters

name
String

Not supported.

bindingAttr
BindingFlags

Not supported.

Returns

Not supported for incomplete generic type parameters.

Exceptions

In all cases.

Remarks

This method is not supported for incomplete generic type parameters. Retrieve the type parameter from the completed generic type definition and then use reflection on the retrieved type.

Applies to