ModifiableDocumentTree.CommitModifications Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
When overridden in a derived class, commits the changes that were made to a document tree.
Namespace: Microsoft.Windows.Design.Documents.Trees
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Public MustOverride Function CommitModifications As CommitResult
'Usage
Dim instance As ModifiableDocumentTree
Dim returnValue As CommitResult
returnValue = instance.CommitModifications()
public abstract CommitResult CommitModifications()
public:
virtual CommitResult^ CommitModifications() abstract
public abstract function CommitModifications() : CommitResult
Return Value
Type: Microsoft.Windows.Design.Documents.Trees.CommitResult
Remarks
Once this method is called, all changes will be visible and persistent. Until this method is called, changes might or might not be externally visible.
.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
ModifiableDocumentTree Members
Microsoft.Windows.Design.Documents.Trees Namespace