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

取得 Factory 類型。

FolderGuid

取得資料夾 GUID。

LanguageVsTemplate

取得語言 Visual Studio 範本。

Name

取得項目處理站的名稱。

NewProjectRequireNewFolderVsTemplate

判斷新專案是否需要新的資料夾。

PossibleProjectExtensions

取得一組可能的項目擴展名。

ProjectSubTypeVsTemplate

取得項目子類型。

ProjectTemplatesDirectory

取得專案範本目錄。

ShowOnlySpecifiedTemplatesVsTemplate

判斷是否只顯示指定的範本。

SortPriority

取得排序優先順序。

TemplateGroupIDsVsTemplate

取得範本群組標識碼。

TemplateIDsVsTemplate

取得範本識別碼。

TypeId

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別搭配 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性只有在需要對可套用至類別的實例有更好的控制權時,才必須覆寫此屬性。

(繼承來源 RegistrationAttribute)

方法

GetPackageRegKeyPath(Guid)

取得相對於 VSPackage 之應用程式) 之登錄根目錄的登錄路徑 (。

(繼承來源 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

註冊項目處理站。

Unregister(RegistrationAttribute+RegistrationContext)

取消註冊項目處理站。

適用於