CompositeActivityDesigner.CanInsertActivities メソッド

定義

デザイナーに関連付けられている複合アクティビティにアクティビティを挿入できるかどうかを示す値を返します。

public:
 virtual bool CanInsertActivities(System::Workflow::ComponentModel::Design::HitTestInfo ^ insertLocation, System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Activity ^> ^ activitiesToInsert);
public virtual bool CanInsertActivities(System.Workflow.ComponentModel.Design.HitTestInfo insertLocation, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToInsert);
abstract member CanInsertActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> bool
override this.CanInsertActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> bool
Public Overridable Function CanInsertActivities (insertLocation As HitTestInfo, activitiesToInsert As ReadOnlyCollection(Of Activity)) As Boolean

パラメーター

insertLocation
HitTestInfo

アクティビティを挿入する場所。

activitiesToInsert
ReadOnlyCollection<Activity>

挿入する Activity の読み取り専用配列。

返品

true デザイナーに関連付けられている複合アクティビティにアクティビティを挿入できる場合。それ以外の場合は false

注釈

CanInsertActivitiesを使用して、アクティビティの一覧を複合アクティビティに挿入できるかどうかを判断します。

適用対象