IVsProjectMRU.RegisterProjectMRU Method
Register additional information for a Project MRU entry. Only the first entry in the MRU list can be modified.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Sub RegisterProjectMRU ( _
szLocalPath As String, _
szProviderString As String, _
szDisplayText As String, _
szToolTipDisplayText As String, _
ByRef providerId As Guid _
)
void RegisterProjectMRU(
string szLocalPath,
string szProviderString,
string szDisplayText,
string szToolTipDisplayText,
ref Guid providerId
)
void RegisterProjectMRU(
[InAttribute] String^ szLocalPath,
[InAttribute] String^ szProviderString,
[InAttribute] String^ szDisplayText,
[InAttribute] String^ szToolTipDisplayText,
[InAttribute] Guid% providerId
)
abstract RegisterProjectMRU :
szLocalPath:string *
szProviderString:string *
szDisplayText:string *
szToolTipDisplayText:string *
providerId:Guid byref -> unit
function RegisterProjectMRU(
szLocalPath : String,
szProviderString : String,
szDisplayText : String,
szToolTipDisplayText : String,
providerId : Guid
)
Parameters
szLocalPath
Type: StringThe local path to the project/solution.
szProviderString
Type: StringA provider-specific string, for example a server path.
szDisplayText
Type: StringAdditional text that will be displayed in the Start Page MRU list for the project/solution.
szToolTipDisplayText
Type: StringAn additional line of text that will be displayed in the Start Page MRU tooltip for the project/solution.
providerId
Type: Guid%Id of the source control provider that is calling the method.</
.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.