StructuredCompositeActivityDesigner.CanInsertActivities メソッド

定義

ワークフロー デザイン サーフェイス上の指定した場所にある 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

適用対象