DataViewBrowseObject.GetEvents – metoda (array<Attribute )
Načte EventDescriptorCollection shromažďování událostí, které odpovídají určených atributů pro aktuální objekt Procházet.
Obor názvů: Microsoft.VisualStudio.Data.Framework
Sestavení: Microsoft.VisualStudio.Data.Framework (v Microsoft.VisualStudio.Data.Framework.dll)
Syntaxe
'Deklarace
Public Overridable Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection
public virtual EventDescriptorCollection GetEvents(
Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
)
abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
public function GetEvents(
attributes : Attribute[]
) : EventDescriptorCollection
Parametry
- attributes
Typ: array<System.Attribute[]
Pole Attribute objekty jako filtr pro události, které chcete vrátit.
Vrácená hodnota
Typ: System.ComponentModel.EventDescriptorCollection
Vrátí EventDescriptorCollection procházení kolekce obsahující události, které odpovídají určených atributů pro aktuální objekt.
Implementuje
ICustomTypeDescriptor.GetEvents(array<Attribute[])
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.