ModelItem.GetAttributes 方法 (TypeIdentifier)

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

获取在此项上声明的请求类型的特性。

命名空间:  Microsoft.Windows.Design.Model
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Overridable Function GetAttributes ( _
    attributeTypeIdentifier As TypeIdentifier _
) As IEnumerable(Of Object)
public virtual IEnumerable<Object> GetAttributes(
    TypeIdentifier attributeTypeIdentifier
)
public:
virtual IEnumerable<Object^>^ GetAttributes(
    TypeIdentifier attributeTypeIdentifier
)
abstract GetAttributes : 
        attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object> 
override GetAttributes : 
        attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object> 
public function GetAttributes(
    attributeTypeIdentifier : TypeIdentifier
) : IEnumerable<Object>

参数

返回值

类型:System.Collections.Generic.IEnumerable<Object>
在此项上声明的请求类型的特性的集合。

.NET Framework 安全性

请参见

参考

ModelItem 类

GetAttributes 重载

Microsoft.Windows.Design.Model 命名空间

其他资源

WPF 设计器扩展性体系结构

编辑模型体系结构