TaskbarItemInfo.SetTaskbarItemInfo Method
Sets the value of the TaskbarItemInfo attached property for an object.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Shared Sub SetTaskbarItemInfo ( _
window As Window, _
value As TaskbarItemInfo _
)
public static void SetTaskbarItemInfo(
Window window,
TaskbarItemInfo value
)
public:
static void SetTaskbarItemInfo(
Window^ window,
TaskbarItemInfo^ value
)
static member SetTaskbarItemInfo :
window:Window *
value:TaskbarItemInfo -> unit
public static function SetTaskbarItemInfo(
window : Window,
value : TaskbarItemInfo
)
Parameters
- window
Type: System.Windows.Window
The object to which the attached property is written.
- value
Type: Microsoft.Windows.Shell.TaskbarItemInfo
The value to set.
.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.