Returns the local registry root.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
Visual Basic (Declaration)
Function GetLocalRegistryRoot ( _
<OutAttribute> ByRef pbstrRoot As String _
) As Integer
Dim instance As ILocalRegistry2
Dim pbstrRoot As String
Dim returnValue As Integer
returnValue = instance.GetLocalRegistryRoot(pbstrRoot)
int GetLocalRegistryRoot (
out string pbstrRoot
)
int GetLocalRegistryRoot (
[OutAttribute] String^% pbstrRoot
)
int GetLocalRegistryRoot (
/** @attribute OutAttribute() */ /** @ref */ String pbstrRoot
)
JScript does not support passing value-type arguments by reference.
Parameters
- pbstrRoot
[out] Pointer to a string containing the local registry root.
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
COM Signature
From objext.idl:
HRESULT ILocalRegistry2::GetLocalRegistryRoot(
[out] BSTR* pbstrRoot
);