共用方式為


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents 方法 (array<Attribute )

如需這個成員的說明,請參閱 GetEvents

命名空間:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)
private:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
private override GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
JScript 不支援明確介面實作。

參數

  • attributes
    型別:array<System.Attribute[]
    當做篩選條件之型別的陣列。這可以是 nullNull 參照 (即 Visual Basic 中的 Nothing)。

傳回值

型別:System.ComponentModel.EventDescriptorCollection
傳回這個元件執行個體的事件。

實作

ICustomTypeDescriptor.GetEvents(array<Attribute[])

備註

這個成員是明確介面成員實作,它只有在 ConnectionStringBuilder 轉型成 ICustomTypeDescriptor 介面時才能使用。

.NET Framework 安全性

請參閱

參考

AdoDotNetConnectionProperties 類別

GetEvents 多載

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空間