DbConnectionStringBuilder.ICustomTypeDescriptor.GetProperties 方法

定義

傳回元件之這個實例的屬性。

多載

名稱 Description
ICustomTypeDescriptor.GetProperties()

傳回元件之這個實例的屬性。

ICustomTypeDescriptor.GetProperties(Attribute[])

使用屬性陣組做為篩選,傳回元件實例的屬性。

ICustomTypeDescriptor.GetProperties()

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

傳回元件之這個實例的屬性。

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties() = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")]
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties();
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
abstract member System.ComponentModel.ICustomTypeDescriptor.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Function GetProperties () As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties

傳回

A PropertyDescriptorCollection 代表該元件實例的屬性。

實作

屬性

備註

此成員為明確介面成員實作。 它只能在實 DbConnectionStringBuilder 例投射到 ICustomTypeDescriptor 介面時使用。

如需詳細資訊,請參閱GetProperties

另請參閱

適用於

ICustomTypeDescriptor.GetProperties(Attribute[])

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

使用屬性陣組做為篩選,傳回元件實例的屬性。

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes);
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
abstract member System.ComponentModel.ICustomTypeDescriptor.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties

參數

attributes
Attribute[]

一個用於過濾器的型別 Attribute 陣列。

傳回

A PropertyDescriptorCollection 代表該元件實例的過濾屬性。

實作

屬性

備註

此成員為明確介面成員實作。 它只能在實 DbConnectionStringBuilder 例投射到 ICustomTypeDescriptor 介面時使用。

如需詳細資訊,請參閱GetProperties

另請參閱

適用於