ComponentOne Windows 7 Control Pack for WinForms
AddToRecentCategory(String) Method



C1.Win.C1Win7Pack.4 Assembly > C1.Win.C1Win7Pack Namespace > C1JumpList Class > AddToRecentCategory Method : AddToRecentCategory(String) Method
The path to add to the Jump List.
Adds the specified file path to the Recent category of the Jump List.
Syntax
Public Overloads Sub AddToRecentCategory( _
   ByVal filePath As String _
) 
Dim instance As C1JumpList
Dim filePath As String
 
instance.AddToRecentCategory(filePath)
public void AddToRecentCategory( 
   string filePath
)
public:
void AddToRecentCategory( 
   String^ filePath
) 

Parameters

filePath
The path to add to the Jump List.
Remarks
The contents of the Recent category are managed by the Windows shell. If your application is not registered to handle the file type of the item, it will not appear in the Recent list and calls to AddToRecentCategory(String) will fail silently.
See Also

Reference

C1JumpList Class
C1JumpList Members
Overload List