Поделиться через


DataViewBrowseObject.GetEvents - метод (array<Attribute )

Извлекает коллекцию EventDescriptorCollection событий, которые соответствуют заданным атрибутам для просмотра текущего объекта.

Пространство имен:  Microsoft.VisualStudio.Data.Framework
Сборка:  Microsoft.VisualStudio.Data.Framework (в Microsoft.VisualStudio.Data.Framework.dll)

Синтаксис

'Декларация
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

Параметры

  • attributes
    Тип: array<System.Attribute[]
    Массив Attribute возражает в качестве фильтра для событий.

Возвращаемое значение

Тип: System.ComponentModel.EventDescriptorCollection
Возвращает коллекцию, содержащую EventDescriptorCollection события, которые соответствуют заданным атрибутам для просмотра текущего объекта.

Реализации

ICustomTypeDescriptor.GetEvents(array<Attribute[])

Безопасность платформы .NET Framework

См. также

Ссылки

DataViewBrowseObject Класс

GetEvents - перегрузка

Microsoft.VisualStudio.Data.Framework - пространство имен

GetEvents