DataRowView.ICustomTypeDescriptor.GetAttributes 方法

定義

傳回元件之這個執行個體的自訂屬性集合。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

傳回

AttributeCollection

包含此物件之屬性的 AttributeCollection。An AttributeCollection containing the attributes for this object.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 DataRowView 執行個體轉換成 ICustomTypeDescriptor 介面時,才能使用這個成員。It can be used only when the DataRowView instance is cast to an ICustomTypeDescriptor interface.

適用於