ModelEvent.IsEventOfType-Methode (Type)

Bestimmt, ob dieses Ereignis vom angegebenen Typ ist, oder implementiert die Schnittstelle des angegebenen Typs.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Overridable Function IsEventOfType ( _
    type As Type _
) As Boolean
public virtual bool IsEventOfType(
    Type type
)
public:
virtual bool IsEventOfType(
    Type^ type
)
abstract IsEventOfType : 
        type:Type -> bool 
override IsEventOfType : 
        type:Type -> bool 
public function IsEventOfType(
    type : Type
) : boolean

Parameter

Rückgabewert

Typ: System.Boolean
true, wenn dieses Ereignis vom durch type dargestellten Typ ist, andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

type hat den Wert nullNULL-Verweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelEvent Klasse

IsEventOfType-Überladung

Microsoft.Windows.Design.Model-Namespace

Weitere Ressourcen

Erweiterbare Architektur des WPF-Designers