共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("77BB19B0-0462-11D1-AAF6-00A0C9055A90")> _
Public Interface ILocalRegistry2 _
    Inherits ILocalRegistry
'用途
Dim instance As ILocalRegistry2
[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

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