Partager via


IVsWebURLMRU.AddURL Method

Add a URL to the most recently used (MRU) list.

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

Syntax

'Declaration
Function AddURL ( _
    bstrUrl As String _
) As Integer
int AddURL(
    string bstrUrl
)
int AddURL(
    [InAttribute] String^ bstrUrl
)
abstract AddURL : 
        bstrUrl:string -> int
function AddURL(
    bstrUrl : String
) : int

Parameters

  • bstrUrl
    Type: String

    [in] Pointer to a string containing the URL to add.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsbrowse.idl:

HRESULT IVsWebURLMRU::AddURL(
   [in] BSTR bstrURL
);

.NET Framework Security

See Also

Reference

IVsWebURLMRU Interface

Microsoft.VisualStudio.Shell.Interop Namespace