Freigeben über


IVsMRUItemsStore.AddMRUItem Method

Adds a most recently used (MRU) item to the MRU item collection.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Sub AddMRUItem ( _
    ByRef guidCategory As Guid, _
    lpszItem As String _
)
void AddMRUItem(
    ref Guid guidCategory,
    string lpszItem
)
void AddMRUItem(
    [InAttribute] Guid% guidCategory, 
    [InAttribute] String^ lpszItem
)
abstract AddMRUItem : 
        guidCategory:Guid byref * 
        lpszItem:string -> unit
function AddMRUItem(
    guidCategory : Guid, 
    lpszItem : String
)

Parameters

  • guidCategory
    Type: Guid%

    [in] The GUID of the category of item to be added to the collection.

  • lpszItem
    Type: String

    [in] The item to be added to the collection.

.NET Framework Security

See Also

Reference

IVsMRUItemsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace