DbConnectionStringBuilder.ICustomTypeDescriptor.GetEvents 方法

定義

傳回元件這個實例的事件。

多載

名稱 Description
ICustomTypeDescriptor.GetEvents()

傳回元件這個實例的事件。

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的屬性陣組做為篩選,傳回元件之這個實例的事件。

ICustomTypeDescriptor.GetEvents()

來源:
DbConnectionStringBuilder.cs
來源:
DbConnectionStringBuilder.cs
來源:
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
來源:
DbConnectionStringBuilder.cs
來源:
DbConnectionStringBuilder.cs

使用指定的屬性陣組做為篩選,傳回元件之這個實例的事件。

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes);
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
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

另請參閱

適用於