共用方式為


ILocalRegistry 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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("6D5140D3-7436-11CE-8034-00AA006009FA")> _
Public Interface ILocalRegistry
'用途
Dim instance As ILocalRegistry
[InterfaceTypeAttribute()]
[GuidAttribute("6D5140D3-7436-11CE-8034-00AA006009FA")]
public interface ILocalRegistry
[InterfaceTypeAttribute()]
[GuidAttribute(L"6D5140D3-7436-11CE-8034-00AA006009FA")]
public interface class ILocalRegistry
[<InterfaceTypeAttribute()>]
[<GuidAttribute("6D5140D3-7436-11CE-8034-00AA006009FA")>]
type ILocalRegistry =  interface end
public interface ILocalRegistry

Remarks

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.

ILocalRegistry 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

ILocalRegistry Members

Microsoft.VisualStudio.Shell.Interop Namespace