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

参数

返回值

类型:System.ComponentModel.EventDescriptorCollection
返回包含与当前的指定属性浏览对象的事件的 EventDescriptorCollection 集合。

实现

ICustomTypeDescriptor.GetEvents(array<Attribute[])

.NET Framework 安全性

请参见

参考

DataViewBrowseObject 类

GetEvents 重载

Microsoft.VisualStudio.Data.Framework 命名空间

GetEvents