Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- 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.