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
- nPage
Type: System.UInt32
[in]
- pbstrURL
Type: System.String%
[out]
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
- 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.