ILocalRegistry2.GetLocalRegistryRoot – metoda (String)
Vrátí kořenové místního registru.
Obor názvů: Microsoft.VisualStudio.Shell.Interop
Sestavení: Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)
Syntaxe
int GetLocalRegistryRoot(
out string pbstrRoot
)
int GetLocalRegistryRoot(
[OutAttribute] String^% pbstrRoot
)
abstract GetLocalRegistryRoot :
pbstrRoot:string byref -> int
Function GetLocalRegistryRoot (
<OutAttribute> ByRef pbstrRoot As String
) As Integer
Parametry
- pbstrRoot
[výstup] Ukazatel na řetězec obsahující kořenový místního registru.
Vrácená hodnota
Type: System.Int32
Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.
Poznámky
Podpis COM
Z objext.idl:
HRESULT ILocalRegistry2::GetLocalRegistryRoot(
[out] BSTR* pbstrRoot
);
Viz také
ILocalRegistry2 – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů
Zpátky na začátek