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