Share via


ILocalRegistry2 Interface

Definition

Establishes a locally-registered COM object relative to the local Visual Studio registry hive.

public interface class ILocalRegistry2 : Microsoft::VisualStudio::Shell::Interop::ILocalRegistry
public interface class ILocalRegistry2 : Microsoft::VisualStudio::Shell::Interop::ILocalRegistry
__interface ILocalRegistry2 : Microsoft::VisualStudio::Shell::Interop::ILocalRegistry
[System.Runtime.InteropServices.Guid("77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface ILocalRegistry2 : Microsoft.VisualStudio.Shell.Interop.ILocalRegistry
[System.Runtime.InteropServices.Guid("77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ILocalRegistry2 : Microsoft.VisualStudio.Shell.Interop.ILocalRegistry
[<System.Runtime.InteropServices.Guid("77BB19B0-0462-11D1-AAF6-00A0C9055A90")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type ILocalRegistry2 = interface
    interface ILocalRegistry
[<System.Runtime.InteropServices.Guid("77BB19B0-0462-11D1-AAF6-00A0C9055A90")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ILocalRegistry2 = interface
    interface ILocalRegistry
Public Interface ILocalRegistry2
Implements ILocalRegistry
Derived
Attributes
Implements

Remarks

This interface is safe to access from any thread.

Notes to Callers

Called by any package that wants to register in the Visual Studio section of the registry. This interface is obtained by using the SLocalRegistry service.

Methods

CreateInstance(Guid, Object, Guid, UInt32, IntPtr)

Creates an instance of a class listed in the local registry.

GetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr)

Returns the class object associated with a CLSID.

GetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr)

Returns the class object associated with a CLSID.

(Inherited from ILocalRegistry)
GetLocalRegistryRoot(String)

Returns the local registry root.

GetTypeLibOfClsid(Guid, ITypeLib)

Not implemented. Do not use.

GetTypeLibOfClsid(Guid, ITypeLib)

Extension Methods

CreateInstance(ILocalRegistry, Guid)

Creates a cocreateable COM object.

Applies to