StructuredCompositeActivityDesigner.CanInsertActivities メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ワークフロー デザイン サーフェイス上の指定した場所にある StructuredCompositeActivityDesigner に、指定したアクティビティを追加できるかどうかを示す値を返します。
public:
override bool CanInsertActivities(System::Workflow::ComponentModel::Design::HitTestInfo ^ insertLocation, System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Activity ^> ^ activitiesToInsert);
public override bool CanInsertActivities(System.Workflow.ComponentModel.Design.HitTestInfo insertLocation, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToInsert);
override this.CanInsertActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> bool
Public Overrides Function CanInsertActivities (insertLocation As HitTestInfo, activitiesToInsert As ReadOnlyCollection(Of Activity)) As Boolean
パラメーター
- insertLocation
- HitTestInfo
アクティビティの挿入を試行する画面の場所を含む HitTestInfo 。
- activitiesToInsert
- ReadOnlyCollection<Activity>
Activity追加するアクティビティを含む読み取り専用コレクションです。
返品
true 指定したアクティビティをワークフロー デザイン サーフェイス上の指定した場所に挿入できる場合。それ以外の場合は false。