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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")> _
Public Interface ILocalRegistry2 _
    Inherits ILocalRegistry
[InterfaceTypeAttribute()]
[GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
public interface ILocalRegistry2 : ILocalRegistry
[InterfaceTypeAttribute()]
[GuidAttribute(L"77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
public interface class ILocalRegistry2 : ILocalRegistry
[<InterfaceTypeAttribute()>]
[<GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")>]
type ILocalRegistry2 =  
    interface 
        interface ILocalRegistry 
    end
public interface ILocalRegistry2 extends ILocalRegistry

The ILocalRegistry2 type exposes the following members.

Methods

  Name Description
Public method CreateInstance Creates an instance of a class listed in the local registry.
Public method GetClassObjectOfClsid(Guid%, UInt32, IntPtr, Guid%, IntPtr%) Returns the class object associated with a CLSID. (Inherited from ILocalRegistry.)
Public method GetClassObjectOfClsid(Guid%, UInt32, IntPtr, Guid%, IntPtr) Returns the class object associated with a CLSID.
Public method GetLocalRegistryRoot Returns the local registry root.
Public method GetTypeLibOfClsid Not implemented. Do not use.

Top

Extension Methods

  Name Description
Public Extension Method CreateInstance (Defined by PackageUtilities.)

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace