返回在此事件上声明的指定类型的特性以及此事件的处理程序类型。
命名空间:  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>
参数
- attributeTypeIdentifier
 类型:Microsoft.Windows.Design.Metadata.TypeIdentifier
 需要其特性的 TypeIdentifier 对象。
返回值
类型:System.Collections.Generic.IEnumerable<Object>
TypeIdentifier 对象的枚举,这些对象表示指定类型的特性。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.Model 命名空间