Share via


WAProvideProjectFactoryTemplateMappingAttribute 类

定义

此属性用于声明支持 Web 应用程序项目的新项目系统,并定义真实项目系统与“fake”系统之间的映射,该映射仅用于在注册表中存储某些 WAP 特定属性。

public ref class WAProvideProjectFactoryTemplateMappingAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class WAProvideProjectFactoryTemplateMappingAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class WAProvideProjectFactoryTemplateMappingAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type WAProvideProjectFactoryTemplateMappingAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class WAProvideProjectFactoryTemplateMappingAttribute
Inherits RegistrationAttribute
继承
WAProvideProjectFactoryTemplateMappingAttribute
属性

构造函数

WAProvideProjectFactoryTemplateMappingAttribute(String, Type)

初始化 WAProvideProjectFactoryTemplateMappingAttribute 的新实例。

属性

FlavoredFactoryGuid

获取调味工厂的 GUID。

LanguageTemplateFactoryType

获取语言模板工厂的类型。

TypeId

重写 TypeID 属性,使 RegistrationAttribute 派生类能够与 System.ComponentModel.TypeDescriptor.GetAttributes 一起使用 (...) 。仅当派生自此属性的属性需要对可应用于类的实例使用更好的控件时,它才必须重写此属性。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。

(继承自 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

在指定的上下文中注册映射。

Unregister(RegistrationAttribute+RegistrationContext)

从指定的上下文中注销映射。

适用于