IVsMRUItemsStore::GetMRUItems Method (Guid, String^, UInt32, array<String^>^)

 

Retrieves the specified items from the most recently used (MRU) item collection.

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

unsigned int GetMRUItems(
	[InAttribute] Guid% guidCategory,
	String^ lpszPrefix,
	unsigned int dwMaxResults,
	array<String^>^ rgbstrItems
)

Parameters

guidCategory
Type: System::Guid

[in] The GUID of the category of items to be retrieved.

lpszPrefix
Type: System::String^

[in] The prefix of the items to be retrieved.

dwMaxResults
Type: System::UInt32

[in] The maximum number of items to retrieve.

rgbstrItems
Type: array<System::String^>^

[out, size_is(dwMaxResults), length_is(*pdwResultsFetched)] The most recently used items.

Return Value

Type: System::UInt32

The actual number of items that were retrieved from the MRU item collection.

Return to top
Show: