ModelEditingScope.Complete Method
Completes the editing scope.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub Complete
'Usage
Dim instance As ModelEditingScope
instance.Complete()
public void Complete()
public:
void Complete()
public function Complete()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | ModelEditingScope has already been completed or reverted. |
Remarks
If the editing scope has already been reverted or completed, this will throw an InvalidOperationException. Calling the Complete method calls the protected OnComplete method.
.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.
See Also
Reference
Microsoft.Windows.Design.Model Namespace