共用方式為


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

'宣告
<GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")> _
<InterfaceTypeAttribute()> _
Public Interface ILocalRegistry2 _
    Implements ILocalRegistry
'用途
Dim instance As ILocalRegistry2
[GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
[InterfaceTypeAttribute()]
public interface ILocalRegistry2 : ILocalRegistry
[GuidAttribute(L"77BB19B0-0462-11D1-AAF6-00A0C9055A90")]
[InterfaceTypeAttribute()]
public interface class ILocalRegistry2 : ILocalRegistry
public interface ILocalRegistry2 extends ILocalRegistry

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

ILocalRegistry2 Members

Microsoft.VisualStudio.Shell.Interop Namespace