ModelItem.IsItemOfType Method (TypeIdentifier)
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 ( _
typeIdentifier As TypeIdentifier _
) As Boolean
public virtual bool IsItemOfType(
TypeIdentifier typeIdentifier
)
public:
virtual bool IsItemOfType(
TypeIdentifier typeIdentifier
)
abstract IsItemOfType :
typeIdentifier:TypeIdentifier -> bool
override IsItemOfType :
typeIdentifier:TypeIdentifier -> bool
public function IsItemOfType(
typeIdentifier : TypeIdentifier
) : boolean
Parameters
- typeIdentifier
Type: Microsoft.Windows.Design.Metadata.TypeIdentifier
An identifier for 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