IVsMRUItemsStore.GetMRUItems(Guid, String, UInt32, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the specified items from the most recently used (MRU) item collection.
public:
System::UInt32 GetMRUItems(Guid % guidCategory, System::String ^ lpszPrefix, System::UInt32 dwMaxResults, cli::array <System::String ^> ^ rgbstrItems);
public uint GetMRUItems (ref Guid guidCategory, string lpszPrefix, uint dwMaxResults, string[] rgbstrItems);
abstract member GetMRUItems : Guid * string * uint32 * string[] -> uint32
Public Function GetMRUItems (ByRef guidCategory As Guid, lpszPrefix As String, dwMaxResults As UInteger, rgbstrItems As String()) As UInteger
Parameters
- guidCategory
- Guid
[in] The GUID of the category of items to be retrieved.
- lpszPrefix
- String
[in] The prefix of the items to be retrieved.
- dwMaxResults
- UInt32
[in] The maximum number of items to retrieve.
- rgbstrItems
- String[]
[out, size_is(dwMaxResults), length_is(*pdwResultsFetched)] The most recently used items.
Returns
The actual number of items that were retrieved from the MRU item collection.