ModelItem.IsItemOfType Method (Type)
Gets a value that indicates whether this item 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 IsItemOfType ( _
type As Type _
) As Boolean
public virtual bool IsItemOfType(
Type type
)
public:
virtual bool IsItemOfType(
Type^ type
)
abstract IsItemOfType :
type:Type -> bool
override IsItemOfType :
type:Type -> bool
public function IsItemOfType(
type : Type
) : boolean
Parameters
- type
Type: System.Type
The type or interface to test.
Return Value
Type: System.Boolean
true if this item 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