DbConnectionStringBuilder.ICustomTypeDescriptor.GetProperties 方法

定义

返回此组件实例的属性。Returns the properties for this instance of a component.

重载

ICustomTypeDescriptor.GetProperties()

返回此组件实例的属性。Returns the properties for this instance of a component.

ICustomTypeDescriptor.GetProperties(Attribute[])

使用特性数组作为筛选器,返回此组件实例的属性。Returns the properties for this instance of a component using the attribute array as a filter.

ICustomTypeDescriptor.GetProperties()

返回此组件实例的属性。Returns the properties for this instance of a component.

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties() = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties ();
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

返回

PropertyDescriptorCollection

表示此组件实例的属性的 PropertyDescriptorCollectionA PropertyDescriptorCollection that represents the properties for this component instance.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

有关详细信息,请参阅 GetPropertiesFor more information, see GetProperties.

另请参阅

适用于

ICustomTypeDescriptor.GetProperties(Attribute[])

使用特性数组作为筛选器,返回此组件实例的属性。Returns the properties for this instance of a component using the attribute array as a filter.

 virtual System::ComponentModel::PropertyDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetProperties(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetProperties;
System.ComponentModel.PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties (Attribute[] attributes);
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 类型数组。An array of type Attribute that is used as a filter.

返回

PropertyDescriptorCollection

一个 PropertyDescriptorCollection,它表示此组件实例的已筛选属性。A PropertyDescriptorCollection that represents the filtered properties for this component instance.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

有关详细信息,请参阅 GetPropertiesFor more information, see GetProperties.

另请参阅

适用于