Compartir a través de


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: UInt32

    [in] Reserved.

  • pbstrKey
    Type: String%

    [out] The registry key under which to save user preferences.

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::GetOptionKeyPath(
   [in] DWORD dwReserved, 
   [out] BSTR* pbstrKey
);

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace