CommandSetLibrary.IsAnyDocumentSelectionUndeletable メソッド

選択リストの図形の項目のいずれかを削除できない場合は true。

名前空間:  Microsoft.VisualStudio.Modeling.Shell
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 内)

構文

'宣言
Protected Overridable Function IsAnyDocumentSelectionUndeletable As Boolean
protected virtual bool IsAnyDocumentSelectionUndeletable()

戻り値

型 : System.Boolean
true の場合、1 文字以上の選択した図形の要素は削除できません。

解説

このメソッドをオーバーライドします。基本実装では、図形のコンパートメントおよび MoveableHostShape を確認します。

.NET Framework セキュリティ

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

参照

関連項目

CommandSetLibrary クラス

Microsoft.VisualStudio.Modeling.Shell 名前空間