TaskbarItemInfo.GetTaskbarItemInfo Method
Gets 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 Function GetTaskbarItemInfo ( _
window As Window _
) As TaskbarItemInfo
public static TaskbarItemInfo GetTaskbarItemInfo(
Window window
)
public:
static TaskbarItemInfo^ GetTaskbarItemInfo(
Window^ window
)
static member GetTaskbarItemInfo :
window:Window -> TaskbarItemInfo
public static function GetTaskbarItemInfo(
window : Window
) : TaskbarItemInfo
Parameters
- window
Type: System.Windows.Window
The object from which the property value is read.
Return Value
Type: Microsoft.Windows.Shell.TaskbarItemInfo
The object’s TaskbarItemInfo property value.
.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.