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

‘선언
Function AddURL ( _
    bstrUrl As String _
) As Integer
‘사용 방법
Dim instance As IVsWebURLMRU
Dim bstrUrl As String
Dim returnValue As Integer

returnValue = instance.AddURL(bstrUrl)
int AddURL(
    string bstrUrl
)
int AddURL(
    [InAttribute] String^ bstrUrl
)
abstract AddURL : 
        bstrUrl:string -> int 
function AddURL(
    bstrUrl : String
) : int

Parameters

  • bstrUrl
    Type: System.String
    [in] Pointer to a string containing the URL to add.

Return Value

Type: System.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

IVsWebURLMRU Members

Microsoft.VisualStudio.Shell.Interop Namespace