CutCopyPasteHelper.CanCut Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Verifies whether items can be cut from the specified editing context.
Namespace: System.Activities.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function CanCut ( _
context As EditingContext _
) As Boolean
'Usage
Dim context As EditingContext
Dim returnValue As Boolean
returnValue = CutCopyPasteHelper.CanCut(context)
public static bool CanCut(
EditingContext context
)
public:
static bool CanCut(
EditingContext^ context
)
public static function CanCut(
context : EditingContext
) : boolean
static member CanCut :
context:EditingContext -> bool
Parameters
- context
Type: System.Activities.Design.EditingContext
The editing context to be verified.
Return Value
Type: System.Boolean
true if the number of the selected objects is more than 0 and context is not nulla null reference (Nothing in Visual Basic); otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4