Aracılığıyla paylaş


ILocalRegistry2.GetLocalRegistryRoot Yöntem (String)

 

Yerel kayıt defteri kök dizinini döndürür.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

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

Parametreler

  • pbstrRoot
    Type: System.String

    [out] Yerel kayıt defteri kökü içeren bir dize işaretçisi.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.

Notlar

COM imza

Objext.idl:

HRESULT ILocalRegistry2::GetLocalRegistryRoot(

   [out] BSTR* pbstrRoot

);

Ayrıca bkz.

ILocalRegistry2 Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön