ILocalRegistry2 Interface

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
public interface ILocalRegistry2 : ILocalRegistry

NameDescription
System_CAPS_pubmethodCreateInstance(Guid, Object, Guid, UInt32, IntPtr)

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

System_CAPS_pubmethodGetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr)

Returns the class object associated with a CLSID.

System_CAPS_pubmethodGetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr)

Returns the class object associated with a CLSID.(Inherited from ILocalRegistry.)

System_CAPS_pubmethodGetLocalRegistryRoot(String)

Returns the local registry root.

System_CAPS_pubmethodGetTypeLibOfClsid(Guid, ITypeLib)

Not implemented. Do not use.

NameDescription
System_CAPS_pubmethodCreateInstance(Guid)

Overloaded. Creates a co-createable COM object.(Defined by PackageUtilities.)

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 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.

Return to top
Show: