次の方法で共有


RefactoringOperation.OnGetContributorInput メソッド

ユーザーから必要な入力を収集し、互換性のあるすべてのコントリビューターによって処理される適切な ContributorInput クラスを返します。

名前空間:  Microsoft.VisualStudio.Data.Schema.Package.Refactoring
アセンブリ:  Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)

構文

'宣言
Protected MustOverride Function OnGetContributorInput As ContributorInput
protected abstract ContributorInput OnGetContributorInput()
protected:
virtual ContributorInput^ OnGetContributorInput() abstract
abstract OnGetContributorInput : unit -> ContributorInput 
protected abstract function OnGetContributorInput() : ContributorInput

戻り値

型: Microsoft.VisualStudio.Data.Schema.Package.Refactoring.ContributorInput

解説

追加の入力を収集するために必要な任意のユーザー インターフェイスを発生させます。たとえば、名前の変更リファクタリングを行うための [名前の変更] ダイアログ ボックスなど。 1 つの初期 ContributorInput だけが、操作ごとに作成されます。 この ContributorInput の処理をサポートする別のコントリビューターは、リファクタリング マネージャーに登録する必要があります。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

RefactoringOperation クラス

Microsoft.VisualStudio.Data.Schema.Package.Refactoring 名前空間