JumpList.SetJumpList Method
Sets the JumpList object associated with an application.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Shared Sub SetJumpList ( _
application As Application, _
value As JumpList _
)
public static void SetJumpList(
Application application,
JumpList value
)
public:
static void SetJumpList(
Application^ application,
JumpList^ value
)
static member SetJumpList :
application:Application *
value:JumpList -> unit
public static function SetJumpList(
application : Application,
value : JumpList
)
Parameters
- application
Type: System.Windows.Application
The application associated with the JumpList.
- value
Type: Microsoft.Windows.Shell.JumpList
The JumpList to associate with the application.
Remarks
You can create multiple JumpList objects. However, only one JumpList at a time can be associated with an Application. Call the SetJumpList method to set the JumpList currently associated with an Application.
.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.