Share via


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

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

(继承自 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

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

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

注册项目工厂。

Unregister(RegistrationAttribute+RegistrationContext)

取消注册项目工厂。

适用于