Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function GetMRUItems ( _
ByRef guidCategory As Guid, _
lpszPrefix As String, _
dwMaxResults As UInteger, _
<OutAttribute> rgbstrItems As String() _
) As UInteger
uint GetMRUItems(
ref Guid guidCategory,
string lpszPrefix,
uint dwMaxResults,
string[] rgbstrItems
)
unsigned int GetMRUItems(
[InAttribute] Guid% guidCategory,
[InAttribute] String^ lpszPrefix,
[InAttribute] unsigned int dwMaxResults,
[OutAttribute] array<String^>^ rgbstrItems
)
abstract GetMRUItems :
guidCategory:Guid byref *
lpszPrefix:string *
dwMaxResults:uint32 *
rgbstrItems:string[] byref -> uint32
function GetMRUItems(
guidCategory : Guid,
lpszPrefix : String,
dwMaxResults : uint,
rgbstrItems : String[]
) : uint
Parameters
guidCategory
Type: Guid%[in] The GUID of the category of items to be retrieved.
lpszPrefix
Type: String[in] The prefix of the items to be retrieved.
dwMaxResults
Type: UInt32[in] The maximum number of items to retrieve.
rgbstrItems
Type: array<String[][out, size_is(dwMaxResults), length_is(*pdwResultsFetched)] The most recently used items.
Return Value
Type: UInt32
The actual number of items that were retrieved from the MRU item collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.