แก้ไข

แชร์ผ่าน


GenericTypeParameterBuilder.GetEvents Method

Definition

Not supported for incomplete generic type parameters.

Overloads

GetEvents()

Not supported for incomplete generic type parameters.

GetEvents(BindingFlags)

Not supported for incomplete generic type parameters.

GetEvents()

Source:
GenericTypeParameterBuilder.cs

Not supported for incomplete generic type parameters.

public:
 override cli::array <System::Reflection::EventInfo ^> ^ GetEvents();
public override System.Reflection.EventInfo[] GetEvents ();
override this.GetEvents : unit -> System.Reflection.EventInfo[]
Public Overrides Function GetEvents () As EventInfo()

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

GetEvents(BindingFlags)

Source:
GenericTypeParameterBuilder.cs

Not supported for incomplete generic type parameters.

public:
 override cli::array <System::Reflection::EventInfo ^> ^ GetEvents(System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.EventInfo[] GetEvents (System.Reflection.BindingFlags bindingAttr);
override this.GetEvents : System.Reflection.BindingFlags -> System.Reflection.EventInfo[]
Public Overrides Function GetEvents (bindingAttr As BindingFlags) As EventInfo()

Parameters

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