共用方式為


DataConnectionProperties.ICustomTypeDescriptor.GetProperties 方法 (array<Attribute )

擷取指定的元件執行個體的屬性使用屬性陣列做為篩選條件。

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

語法

'宣告
Private Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
    Attribute[] attributes
)
private:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection 
private override GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection 
JScript 不支援明確介面實作。

參數

傳回值

型別:System.ComponentModel.PropertyDescriptorCollection
傳回表示這個元件執行個體的已篩選屬性的型別的陣列 Attribute

實作

ICustomTypeDescriptor.GetProperties(array<Attribute[])

備註

這個方法 GetProperties 提供方法的實作。如需詳細資訊 .NET Framework 在類別庫中看到 GetProperties(System.Attribute[]) 方法。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

GetProperties 多載

Microsoft.VisualStudio.Data 命名空間