共用方式為


IVsWebBrowserUser.GetCustomURL Method

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

Syntax

'宣告
Function GetCustomURL ( _
    nPage As UInteger, _
    <OutAttribute> ByRef pbstrURL As String _
) As Integer
'用途
Dim instance As IVsWebBrowserUser
Dim nPage As UInteger
Dim pbstrURL As String
Dim returnValue As Integer

returnValue = instance.GetCustomURL(nPage, _
    pbstrURL)
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

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:

[C++]

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

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

IVsWebBrowserUser Members

Microsoft.VisualStudio.Shell.Interop Namespace