共用方式為


DataConnectionProperties.ICustomTypeDescriptor.GetAttributes 方法

擷取自訂屬性的集合中指定之物件的。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Private Function GetAttributes As AttributeCollection 
    Implements ICustomTypeDescriptor.GetAttributes
AttributeCollection ICustomTypeDescriptor.GetAttributes()
private:
virtual AttributeCollection^ GetAttributes() sealed = ICustomTypeDescriptor::GetAttributes
private abstract GetAttributes : unit -> AttributeCollection  
private override GetAttributes : unit -> AttributeCollection
JScript 不支援明確介面實作。

傳回值

類型:AttributeCollection
包含這個 AttributeCollection 執行個體的屬性物件。

實作

ICustomTypeDescriptor.GetAttributes

備註

這個方法會提供 GetAttributes 方法的實作。 如需詳細資訊,請參閱 GetAttributes 方法至 .NET Framework 類別庫中。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

Microsoft.VisualStudio.Data.Framework 命名空間