次の方法で共有


ILocalRegistry Interface

Definition

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

public interface class ILocalRegistry
public interface class ILocalRegistry
__interface ILocalRegistry
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("6D5140D3-7436-11CE-8034-00AA006009FA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface ILocalRegistry
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("6D5140D3-7436-11CE-8034-00AA006009FA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ILocalRegistry
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("6D5140D3-7436-11CE-8034-00AA006009FA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type ILocalRegistry = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("6D5140D3-7436-11CE-8034-00AA006009FA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ILocalRegistry = interface
Public Interface ILocalRegistry
Derived
Attributes

Remarks

This interface is safe to access from any thread.

Notes to Implementers

Visual Studio implements this interface.

Notes to Callers

This interface is obtained from the SLocalRegistry service.

Methods

CreateInstance(Guid, Object, Guid, UInt32, IntPtr)

Creates an instance of a class listed in the local registry.

GetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr)

Returns the class object associated with a CLSID.

GetTypeLibOfClsid(Guid, ITypeLib)

Not implemented. Do not use.

GetTypeLibOfClsid(Guid, ITypeLib)

Extension Methods

CreateInstance(ILocalRegistry, Guid)

Creates a cocreateable COM object.

Applies to