Dela via


IVsMRUItemsStore.SetMRUItem Method

Sets the item in the specified category to be displayed.

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

Syntax

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

Parameters

  • guidCategory
    Type: Guid%

    [in] The category of the item to be displayed.

  • lpszItem
    Type: String

    [in] The item to be displayed.

.NET Framework Security

See Also

Reference

IVsMRUItemsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace