DeleteHelper.CanDelete Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Checks whether the deletion operation can be performed by verifying whether the specified [System.Activities.Design.EditingContext] object is nulla null reference (Nothing in Visual Basic) or empty.
Namespace: System.Activities.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function CanDelete ( _
context As EditingContext _
) As Boolean
'Usage
Dim context As EditingContext
Dim returnValue As Boolean
returnValue = DeleteHelper.CanDelete(context)
public static bool CanDelete(
EditingContext context
)
public:
static bool CanDelete(
EditingContext^ context
)
public static function CanDelete(
context : EditingContext
) : boolean
static member CanDelete :
context:EditingContext -> bool
Parameters
- context
Type: System.Activities.Design.EditingContext
The [System.Activities.Design.EditingContext] object to be deleted.
Return Value
Type: System.Boolean
true if the deletion can be performed; 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