共用方式為


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetProperties 方法 (array<Attribute[])

使用屬性陣列做為篩選條件,以傳回這個元件執行個體的屬性。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Private Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
    Attribute[] attributes
)

參數

  • attributes
    類型:array<System.Attribute[]
    System.Attribute 型別的陣列,可用來當做篩選條件。

傳回值

類型:System.ComponentModel.PropertyDescriptorCollection
父圖案的已篩選屬性。

實作

ICustomTypeDescriptor.GetProperties(array<Attribute[])

.NET Framework 安全性

請參閱

參考

MoveableDecoratorHostShape 類別

GetProperties 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間