共用方式為


ModelEvent.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>
TypeIdentifier 物件的列舉,表示指定型別的屬性。

.NET Framework 安全性

請參閱

參考

ModelEvent 類別

GetAttributes 多載

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構