TypeDelegator.GetEvents Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Geçerli EventInfotarafından bildirilen veya devralınan TypeDelegator tüm genel olayları temsil eden bir nesne dizisi döndürür.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| GetEvents(BindingFlags) |
içinde belirtilen |
| GetEvents() |
Geçerli EventInfotarafından bildirilen veya devralınan |
GetEvents(BindingFlags)
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
içinde belirtilen bindingAttr ve geçerli TypeDelegatortarafından bildirilen veya devralınan olayları döndürür.
public:
override cli::array <System::Reflection::EventInfo ^> ^ GetEvents(System::Reflection::BindingFlags bindingAttr);
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)]
public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr);
public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr);
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)>]
override this.GetEvents : System.Reflection.BindingFlags -> System.Reflection.EventInfo[]
override this.GetEvents : System.Reflection.BindingFlags -> System.Reflection.EventInfo[]
Public Overrides Function GetEvents (bindingAttr As BindingFlags) As EventInfo()
Parametreler
- bindingAttr
- BindingFlags
Aramanın nasıl yürütüldüğünü etkileyen bir bit maskesi. değeri, 'den BindingFlagssıfır veya daha fazla bit bayrağının birleşimidir.
Döndürülenler
içinde EventInfobelirtilen olayları içeren tür bindingAttr dizisi. Olay yoksa boş bir dizi döndürülür.
- Öznitelikler
Şunlara uygulanır
GetEvents()
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
- Kaynak:
- TypeDelegator.cs
Geçerli EventInfotarafından bildirilen veya devralınan TypeDelegator tüm genel olayları temsil eden bir nesne dizisi döndürür.
public:
override cli::array <System::Reflection::EventInfo ^> ^ GetEvents();
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)]
public override System.Reflection.EventInfo[] GetEvents();
public override System.Reflection.EventInfo[] GetEvents();
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)>]
override this.GetEvents : unit -> System.Reflection.EventInfo[]
override this.GetEvents : unit -> System.Reflection.EventInfo[]
Public Overrides Function GetEvents () As EventInfo()
Döndürülenler
Geçerli tür tarafından bildirilen veya devralınan tüm olayları içeren bir dizi. Olay yoksa boş bir dizi döndürülür.
- Öznitelikler