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.