ModelProperty.IsPropertyOfType Method (Type)
Gets a value that indicates whether this property is of the specified type or implements the specified interface.
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
Parameters
- type
Type: System.Type
The type or interface to test.
Return Value
Type: System.Boolean
true if this property is of the specified type or implements the specified interface; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace