Compartir a través de


IVsWebBrowserUser.GetCustomURL Method

Gets a custom URL for the specified page.

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

Syntax

'Declaration
Function GetCustomURL ( _
    nPage As UInteger, _
    <OutAttribute> ByRef pbstrURL As String _
) As Integer
int GetCustomURL(
    uint nPage,
    out string pbstrURL
)
int GetCustomURL(
    [InAttribute] unsigned int nPage, 
    [OutAttribute] String^% pbstrURL
)
abstract GetCustomURL : 
        nPage:uint32 * 
        pbstrURL:string byref -> int
function GetCustomURL(
    nPage : uint, 
    pbstrURL : String
) : int

Parameters

  • nPage
    Type: UInt32

    [in] The page for which custom URL is desired.

  • pbstrURL
    Type: String%

    [out] The custom URL for the specified page.

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:

[C++]

HRESULT IVsWebBrowserUser::GetCustomURL(
   [in] VSWBCUSTOMURL nPage, 
   [out] BSTR* pbstrURL
);

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace