TaskProvider.IsToolSupported Method
Returns a value indicating whether this task provider supports the specified tool.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Function IsToolSupported ( _
tool As Tool _
) As Boolean
public virtual bool IsToolSupported(
Tool tool
)
public:
virtual bool IsToolSupported(
Tool^ tool
)
abstract IsToolSupported :
tool:Tool -> bool
override IsToolSupported :
tool:Tool -> bool
public function IsToolSupported(
tool : Tool
) : boolean
Parameters
- tool
Type: Microsoft.Windows.Design.Interaction.Tool
A Tool object to check.
Return Value
Type: System.Boolean
true if the specified tool is supported; otherwise, false.
Remarks
By default, this method returns true for SelectionTool.
.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.Interaction Namespace