IVsWebBrowserUser.GetOptionKeyPath Method
Gets the registry key under which to save user preferences.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetOptionKeyPath ( _
dwReserved As UInteger, _
<OutAttribute> ByRef pbstrKey As String _
) As Integer
int GetOptionKeyPath(
uint dwReserved,
out string pbstrKey
)
int GetOptionKeyPath(
[InAttribute] unsigned int dwReserved,
[OutAttribute] String^% pbstrKey
)
abstract GetOptionKeyPath :
dwReserved:uint32 *
pbstrKey:string byref -> int
function GetOptionKeyPath(
dwReserved : uint,
pbstrKey : String
) : int
Parameters
dwReserved
Type: System.UInt32[in] Reserved.
pbstrKey
Type: System.String%[out] The registry key under which to save user preferences.
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::GetOptionKeyPath(
[in] DWORD dwReserved,
[out] BSTR* pbstrKey
);
.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.