Freigeben über


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: String

    The local path to the project/solution.

  • szProviderString
    Type: String

    A provider-specific string, for example a server path.

  • szDisplayText
    Type: String

    Additional text that will be displayed in the Start Page MRU list for the project/solution.

  • szToolTipDisplayText
    Type: String

    An 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

See Also

Reference

IVsProjectMRU Interface

Microsoft.VisualStudio.Shell.Interop Namespace