ILocalRegistry3 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与 Visual Studio 注册表配置单元建立本地注册表。 此接口扩展了 ILocalRegistry2。 可以通过 SLocalRegistry (SID_SLocalRegistry) 服务获取接口的实例。
public interface class ILocalRegistry3 : Microsoft::VisualStudio::Shell::Interop::ILocalRegistry2
public interface class ILocalRegistry3 : Microsoft::VisualStudio::Shell::Interop::ILocalRegistry2
__interface ILocalRegistry3 : Microsoft::VisualStudio::Shell::Interop::ILocalRegistry2
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("1B01F13F-ABEE-4761-91AF-76CE6B4C9E7A")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface ILocalRegistry3 : Microsoft.VisualStudio.Shell.Interop.ILocalRegistry2
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("1B01F13F-ABEE-4761-91AF-76CE6B4C9E7A")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type ILocalRegistry3 = interface
interface ILocalRegistry2
Public Interface ILocalRegistry3
Implements ILocalRegistry2
- 派生
- 属性
- 实现
注解
提供一个站点,该站点具有对象的本地注册表和类型信息。 本地注册表严格是本地注册表,与系统注册表无关。
方法
| CreateInstance(Guid, Object, Guid, UInt32, IntPtr) |
创建在本地注册表中列出的类的实例。 |
| CreateManagedInstance(String, String, String, Guid, IntPtr) |
创建托管类的实例并返回所请求的接口。 |
| GetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr) |
返回与 CLSID 关联的类对象。 |
| GetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr) |
返回与 CLSID 关联的类对象。 (继承自 ILocalRegistry) |
| GetClassObjectOfManagedClass(String, String, String, Guid, IntPtr) |
返回由特定托管对象实现的接口。 |
| GetLocalRegistryRoot(String) |
返回本地注册表根目录。 |
| GetTypeLibOfClsid(Guid, ITypeLib) |
未实现。 请勿使用。 |
扩展方法
| CreateInstance(ILocalRegistry, Guid) |
创建共同 createable 的 COM 对象。 |