WAProvideProjectFactoryAttribute 类

定义

此属性可用于注册有关支持 WAP 风格/子类型的项目系统的信息。

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

构造函数

WAProvideProjectFactoryAttribute(Type, String)

初始化 WAProvideProjectFactoryAttribute 的新实例。

WAProvideProjectFactoryAttribute(Type, String, String, Boolean, String, String)

初始化 WAProvideProjectFactoryAttribute 的新实例。

属性

DefaultProjectExtension

获取默认项目文件扩展名。

DisplayName

获取显示名称。

DisplayProjectFileExtensions

获取显示项目文件扩展名。

DisplayProjectTypeVsTemplate

获取显示项目类型 Visual Studio 模板。

FactoryType

获取工厂类型。

FolderGuid

获取文件夹 GUID。

LanguageVsTemplate

获取语言 "Visual Studio 模板"。

Name

获取项目工厂的名称。

NewProjectRequireNewFolderVsTemplate

确定新项目是否需要新的文件夹。

PossibleProjectExtensions

获取一组可能的项目文件扩展名。

ProjectSubTypeVsTemplate

获取项目子类型。

ProjectTemplatesDirectory

获取项目模板目录。

ShowOnlySpecifiedTemplatesVsTemplate

确定是否只显示指定的模板。

SortPriority

获取排序优先级。

TemplateGroupIDsVsTemplate

获取模板组 Id。

TemplateIDsVsTemplate

获取模板 Id。

TypeId

获取此属性的当前实例。

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

获取与 VSPackage 的应用程序) 的注册表根相关的注册表路径 (。

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

注册项目工厂。

Unregister(RegistrationAttribute+RegistrationContext)

注销项目工厂。

适用于