Version

EndEdit(Resource,Boolean) Method

Commits a modified Resource object.
Syntax
'Declaration
 
Protected Friend Overloads Overridable Function EndEdit( _
   ByVal resource As Resource, _
   ByVal force As Boolean _
) As ResourceOperationResult
protected internal virtual ResourceOperationResult EndEdit( 
   Resource resource,
   bool force
)

Parameters

resource
A modified Resource object.
force
True to force the edit operation to end. Used when user interface being used to perform the edit operation cannot remain in edit mode and therefore the edit operation must be ended.

Return Value

Infragistics.OperationResult instance which may be initialized with the result asynchronously.
Remarks

EndEdit method is used to commit a modified Resource object.

True to force the edit operation to end. Used when user interface being used to perform the edit operation cannot remain in edit mode and therefore the edit operation must be ended.

Note that the operation of committing an activity can be performed either synchronously or asynchronously. If the operation is performed synchronously then the information regarding the result of the operation will be contained in the returned OperationResult instance. If the operation is performed asynchronously, the method will return an OperationResult instance whose results will be initialized later when they are available via the OperationResult's Infragistics.OperationResult.InitializeResult method. The caller, which may be a schedule control, will indicate via the UI that the operation is pending and when the results are initialized (via Infragistics.OperationResult.InitializeResult), it will show the user with appropriate status of the operation.

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