ProvideProjectItemAttribute クラス

定義

この属性は、指定したプロジェクトの種類の [新しい項目の追加] ダイアログに含める項目を登録します。 VSPackage に配置されます。

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

コンストラクター

ProvideProjectItemAttribute(Object, String, String, Int32)

項目の の ProvideProjectItemAttribute 新しいインスタンスを初期化します。

プロパティ

ItemType

項目の種類を説明する文字列。 この文字列は、[新しい項目の追加] ダイアログの左側のフォルダーとして使用されます。

Priority

この型の並べ替え優先度を取得します。

ProjectFactoryType

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

TemplateDir

このプロジェクトの種類のテンプレートが見つかったディレクトリを取得します。

TypeId

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

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

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

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

このアイテムの種類を登録します。

Unregister(RegistrationAttribute+RegistrationContext)

このエディターの登録を解除します。

適用対象