Version

BeginEdit(ActivityBase,DataErrorInfo) Method

Begins modifications to an activity.
Syntax
'Declaration
 
Public Overloads Overridable Function BeginEdit( _
   ByVal activity As ActivityBase, _
   ByRef errorInfo As DataErrorInfo _
) As Boolean
public virtual bool BeginEdit( 
   ActivityBase activity,
   out DataErrorInfo errorInfo
)

Parameters

activity
ActivityBase derived object that is to be modified.
errorInfo
If there's an error this will be set to a new DataErrorInfo object with the error information.

Return Value

A value indicating whether the operation succeeded.
Remarks

Note: BeginEdit cannot be called more than once without an intervening call to CancelEdit or EndEdit. Successive BeginEdit calls will result an error and return false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also