共用方式為


ILocalRegistry5 Interface

Definition

Implemented by the Visual Studio shell, and can be obtained via the SLocalRegistry service. It adds one method similar to CreateManagedInstance(String, String, String, Guid, IntPtr) but which supports COM aggregation with a given outer object.

public interface class ILocalRegistry5
public interface class ILocalRegistry5
__interface ILocalRegistry5
[System.Runtime.InteropServices.Guid("D5F528B9-E492-43A7-AFC0-F98A8FB0516D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ILocalRegistry5
[<System.Runtime.InteropServices.Guid("D5F528B9-E492-43A7-AFC0-F98A8FB0516D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ILocalRegistry5 = interface
Public Interface ILocalRegistry5
Attributes

Remarks

This interface is safe to access from any thread.

Methods

CreateAggregatedManagedInstance(String, String, String, IntPtr, Guid, IntPtr)

Creates an instance of a managed class and returns a requested interface.

Applies to