Partager via


ILocalRegistryCorrected Interface

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

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
<GuidAttribute("6d5140d3-7436-11ce-8034-00aa006009fa")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface ILocalRegistryCorrected
[GuidAttribute("6d5140d3-7436-11ce-8034-00aa006009fa")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface ILocalRegistryCorrected
[GuidAttribute(L"6d5140d3-7436-11ce-8034-00aa006009fa")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class ILocalRegistryCorrected
[<GuidAttribute("6d5140d3-7436-11ce-8034-00aa006009fa")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type ILocalRegistryCorrected =  interface end
public interface ILocalRegistryCorrected

The ILocalRegistryCorrected 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 Returns the class object associated with a CLSID.
Public method GetTypeLibOfClsid Not implemented. Do not use.

Top

Remarks

This interface is similar to ILocalRegistry, but IUnknown pointers are passed as IntPtr instead of object. The result is the actual IUnknown pointer and not a wrapped managed proxy pointer.

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

See Also

Reference

Microsoft.VisualStudio.Shell.Flavor Namespace