DbConnectionStringBuilder.ICustomTypeDescriptor.GetEvents 方法

定義

傳回這個元件執行個體的事件。

多載

ICustomTypeDescriptor.GetEvents()

傳回這個元件執行個體的事件。

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定屬性陣列做為篩選條件傳回元件之執行個體的事件。

ICustomTypeDescriptor.GetEvents()

來源:
DbConnectionStringBuilder.cs
來源:
DbConnectionStringBuilder.cs
來源:
DbConnectionStringBuilder.cs

傳回這個元件執行個體的事件。

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

傳回

EventDescriptorCollection,代表此元件執行個體的事件。

實作

備註

這個成員是明確介面成員實作, 只有在 DbConnectionStringBuilder 執行個體轉換成 ICustomTypeDescriptor 介面時,才能使用這個成員。

如需詳細資訊,請參閱GetEvents

另請參閱

適用於

ICustomTypeDescriptor.GetEvents(Attribute[])

來源:
DbConnectionStringBuilder.cs
來源:
DbConnectionStringBuilder.cs
來源:
DbConnectionStringBuilder.cs

使用指定屬性陣列做為篩選條件傳回元件之執行個體的事件。

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes);
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Function GetEvents (attributes As Attribute()) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

參數

attributes
Attribute[]

Attribute 類型陣列,可當做篩選條件使用。

傳回

EventDescriptorCollection,代表此元件執行個體篩選過的事件。

實作

備註

這個成員是明確介面成員實作, 只有在 DbConnectionStringBuilder 執行個體轉換成 ICustomTypeDescriptor 介面時,才能使用這個成員。

如需詳細資訊,請參閱GetEvents

另請參閱

適用於