CompositeActivityDesigner.CanInsertActivities メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
デザイナーに関連付けられている複合アクティビティにアクティビティを挿入できるかどうかを示す値を返します。
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を使用して、アクティビティの一覧を複合アクティビティに挿入できるかどうかを判断します。