共用方式為


ModelEvent.IsEventOfType 方法 (TypeIdentifier)

判斷這個事件是否屬於指定的型別,或者實作指定之型別的介面。

命名空間:  Microsoft.Windows.Design.Model
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Overridable Function IsEventOfType ( _
    typeIdentifier As TypeIdentifier _
) As Boolean
public virtual bool IsEventOfType(
    TypeIdentifier typeIdentifier
)
public:
virtual bool IsEventOfType(
    TypeIdentifier typeIdentifier
)
abstract IsEventOfType : 
        typeIdentifier:TypeIdentifier -> bool 
override IsEventOfType : 
        typeIdentifier:TypeIdentifier -> bool 
public function IsEventOfType(
    typeIdentifier : TypeIdentifier
) : boolean

參數

傳回值

型別:System.Boolean
如果這個事件的型別為 typeIdentifer,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

ModelEvent 類別

IsEventOfType 多載

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構