CutCopyPasteHelper.CanCopy(EditingContext) 方法

定义

验证是否能从指定的编辑上下文中复制项。

public:
 static bool CanCopy(System::Activities::Presentation::EditingContext ^ context);
public static bool CanCopy (System.Activities.Presentation.EditingContext context);
static member CanCopy : System.Activities.Presentation.EditingContext -> bool
Public Shared Function CanCopy (context As EditingContext) As Boolean

参数

context
EditingContext

要验证的编辑上下文。

返回

如果选定对象的数量大于 0 且 context 不为 true,则为 null;否则为 false

适用于