ModelProperty.IsPropertyOfType-Methode (Type)

Ruft einen Wert ab, der angibt, ob diese Eigenschaft vom angegebenen Typ ist oder die angegebene Schnittstelle implementiert.

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

Syntax

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

Parameter

  • type
    Typ: System.Type
    Der Typ oder die Schnittstelle, die getestet werden sollen.

Rückgabewert

Typ: System.Boolean
true, wenn diese Eigenschaft vom angegebenen Typ ist oder die angegebene Schnittstelle implementiert, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelProperty Klasse

IsPropertyOfType-Überladung

Microsoft.Windows.Design.Model-Namespace

Weitere Ressourcen

Erweiterbare Architektur des WPF-Designers