Version

BeginEdit(ActivityBase,DataErrorInfo) Method

Begins modifications to an activity.
Syntax
'Declaration
 
Protected Friend Overloads Overrides Function BeginEdit( _
   ByVal activity As ActivityBase, _
   ByRef errorInfo As DataErrorInfo _
) As Boolean
protected internal override 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 can be called multiple times for an activity without intervening EndEdit or CancelEdit calls. Successive BeginEdit calls should result in NOOP and return true and null error information. However note that only a single EndEdit or CancelEdit call may be made to come out of edit state.

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