共用方式為


IVsWebBrowserUser.GetCustomURL(UInt32, String) Method

Definition

Gets a custom URL for the specified page.

public:
 int GetCustomURL(System::UInt32 nPage, [Runtime::InteropServices::Out] System::String ^ % pbstrURL);
int GetCustomURL(unsigned int nPage, [Runtime::InteropServices::Out] std::wstring const & & pbstrURL);
public int GetCustomURL (uint nPage, out string pbstrURL);
abstract member GetCustomURL : uint32 * string -> int
Public Function GetCustomURL (nPage As UInteger, ByRef pbstrURL As String) As Integer

Parameters

nPage
UInt32

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

pbstrURL
String

[out] The custom URL for the specified page.

Returns

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  
);  

Applies to