DbConnectionStringBuilder.ICustomTypeDescriptor.GetProperties Method

Definition

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

Overloads

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

Returns

PropertyDescriptorCollection

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

Implements

Remarks

此成员是显式接口成员实现。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.

See also

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

Parameters

attributes
Attribute[]

用作筛选器的 Attribute 类型数组。An array of type Attribute that is used as a filter.

Returns

PropertyDescriptorCollection

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

Implements

Remarks

此成员是显式接口成员实现。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.

See also

Applies to