ILocalRegistry Interface
Establishes a locally-registered COM object relative to the local Visual Studio registry hive.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | GetTypeLibOfClsid(Guid, ITypeLib) | Not implemented. Do not use. |
| Name | Description | |
|---|---|---|
![]() | CreateInstance(Guid) | Overloaded. Creates a co-createable COM object.(Defined by PackageUtilities.) |
In this interface IUnknown pointers are passed as object instead of IntPtr. The result is a wrapped managed proxy pointer and not the actual IUnknown pointer.
This interface provides a site with a local registry of object and type information. The local registry is not related to the system-wide registration database; it is strictly for use by the project.
Notes to Implementers:
Visual Studio implements this interface.
Notes to Callers:
This interface is obtained from the SLocalRegistry service.
