FocusedTask.Task Property
Gets the task that has the focus.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public ReadOnly Property Task As Task
Get
public Task Task { get; }
public:
property Task^ Task {
Task^ get ();
}
member Task : Task
function get Task () : Task
Property Value
Type: Microsoft.Windows.Design.Interaction.Task
A Task object representing the task that has the focus.
Remarks
If this property is nulla null reference (Nothing in Visual Basic), there is no task currently executing in the tool. If this property is not nulla null reference (Nothing in Visual Basic), it contains the task that is currently executing.
.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