Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何(以编程方式)获取当前选择?例如Activity,如果可能的话?
Activity
Activity activity = workflowDesigner.Context.Items.GetValue<Selection>(). PrimarySelection.GetCurrentValue() as Activity;