Share via


ModelEditingScope.CanComplete Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether OnComplete() should be called, or whether the change should instead be reverted. Reasons for reverting might include a file cannot be checked out of a source control system for modification.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Protected MustOverride Function CanComplete As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.CanComplete()
protected abstract bool CanComplete()
protected:
virtual bool CanComplete() abstract
protected abstract function CanComplete() : boolean
abstract CanComplete : unit -> bool 

Return Value

Type: System.Boolean
true if completion can occur; false if the change should instead revert.

.NET Framework Security

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

See Also

Reference

ModelEditingScope Class

ModelEditingScope Members

System.Activities.Design.Model Namespace