ProvideProjectFactoryAttribute クラス

定義

ProvideProjectFactoryAttribute は、パッケージがプロジェクト ファクトリを提供することを宣言します。

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

注釈

1 つの VSPackage で複数のプロジェクト ファクトリを提供できます。 VSPackage がプロジェクト ファクトリを提供することを宣言した場合は、ファクトリを作成し、-derived クラスの Packageメソッドで Visual Studio にInitialize提供する必要があります。

コンストラクター

ProvideProjectFactoryAttribute(Type, String, String, String, String, String)

ProvideProjectFactoryAttribute の新しいインスタンスを初期化します。

プロパティ

DefaultProjectExtension

プロジェクト ファイルの既定の拡張子を取得します。

DisableOnlineTemplates

オンライン テンプレートを無効にするかどうかを指定します。

DisplayProjectFileExtensions

プロジェクト ファイル拡張子のリソース ID を取得します。

DisplayProjectTypeVsTemplate

プロジェクトの Visual Studio テンプレートを取得または設定します。

FactoryType

プロジェクト ファクトリの型を取得します。

FolderGuid

フォルダー guid を取得または設定します。 これを使用して、[新しいプロジェクト] ダイアログにプロジェクト ノードを表示する場所を制御できます

LanguageVsTemplate

Visual Studio 言語テンプレートを取得および設定します。

Name

新しいプロジェクトの作成と新しい項目の追加ダイアログのツリー ノード名。 nameResourceID 値の前置を取得する

NewProjectRequireNewFolderVsTemplate

この種類のプロジェクトに、新しいフォルダーを作成する Visual Studio テンプレートが必要かどうかを取得または設定します。

PossibleProjectExtensions

使用可能なプロジェクト拡張機能のセットを取得します。

ProjectSubTypeVsTemplate

プロジェクト サブタイプの Visual Studio テンプレートを取得または設定します。

ProjectTemplatesDirectory

プロジェクト テンプレート ディレクトリを取得します。

ShowOnlySpecifiedTemplatesVsTemplate

[新しいプロジェクト] ダイアログに表示される Visual Studio テンプレートを取得または設定します。

SortPriority

新しいプロジェクト ダイアログにプロジェクトを表示する順序に影響を与える

TemplateGroupIDsVsTemplate

Visual Studio テンプレートのグループ ID を取得または設定します。

TemplateIDsVsTemplate

Visual Studio テンプレート ID を取得または設定します。

TypeId

RegistrationAttribute 派生クラスが System.ComponentModel.TypeDescriptor.GetAttributes(...) と連携できるように、TypeID プロパティをオーバーライドします。このプロパティから派生した属性は、クラスに適用できるインスタンスをより適切に制御する必要がある場合にのみ、このプロパティをオーバーライドする必要があります。

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

VSPackage のレジストリ パス (アプリケーションのレジストリ ルートに対する相対パス) を取得します。

(継承元 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

この属性を登録します。

Unregister(RegistrationAttribute+RegistrationContext)

レジストリからこの属性のキーを削除します。

適用対象