Share via


ProvideRelatedFileAttribute クラス

定義

重要

この API は CLS 準拠ではありません。

入れ子になったファイルとその親の間のリレーションシップをソリューション エクスプローラーで管理するようにシェルに要求するためのレジストリ エントリを提供する属性クラス

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

コンストラクター

ProvideRelatedFileAttribute(String, String)

新しい ProvideRelatedFile 属性をCreateする

フィールド

CSharpProjectGuid

C# プロジェクト システムの Guid

VisualBasicProjectGuid

Visual Basic プロジェクト システムの Guid

プロパティ

ChildExtension

子ファイルの拡張子

FileOptions

関連ファイルの管理方法のオプション

ParentExtension

親ファイルの拡張子

ProjectSystem

このコード ジェネレーターが登録されているプロジェクト システム

TypeId

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

(継承元 RegistrationAttribute)

メソッド

GetPackageRegKeyPath(Guid)

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

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

新しいコマンド ライン スイッチを登録する

Unregister(RegistrationAttribute+RegistrationContext)

コマンド ライン スイッチの登録を解除する

適用対象