DbConnectionStringBuilder.ICustomTypeDescriptor.GetAttributes Method

Definition

返回此组件实例的自定义属性的集合。Returns a collection of custom attributes for this instance of a component.

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

Returns

AttributeCollection

包含此对象的属性的 AttributeCollectionAn AttributeCollection containing the attributes for this object.

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.

有关此成员的说明,请参见 GetAttributesFor a description of this member, see GetAttributes.

Applies to

See also