Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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
'Declaración
Function AddURL ( _
bstrUrl As String _
) As Integer
'Uso
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.