XmlStore Class
Manages the XmlModel objects.
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
| Name | Description | |
|---|---|---|
![]() | XmlStore() | Initializes a new instance of the XmlStore class. |
| Name | Description | |
|---|---|---|
![]() | CurrentEditingScope | Gets the current XmlEditingScope that is associated with this store. |
![]() | SynchronizingObject | Gets or sets the ISynchronizeInvoke object. |
![]() | UndoManager | Get or set the IOleUndoManager associated with this XmlStore. |
![]() | XmlModels | Gets a list of all open XmlModel objects that are associated with this store. |
| Name | Description | |
|---|---|---|
![]() | BeginEditingScope(String^, Object^) | Begins a new editing operation on one or more models in this XmlStore. |
![]() | Dispose() | Releases all resources used by the current instance of the XmlStore class. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OpenXmlModel(Uri^) | Loads a new XmlModel for the specified file name. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | EditingScopeCompleted | Occurs when edit operations have completed. This can be either when XmlEditingScope objects are created using the XmlEditingScope method or when the user makes changes in the XML Editor text view. |
![]() | UndoRedoCompleted | Occurs when a new XmlEditingScope object has been created as a result of an undo/redo operation. |
You only need one XmlStore object to manage all the XML files that you are editing in your designer. The current list of open XmlModel objects is the scope for any changes you make to those models. The XmlStore object tracks changes to the model when an XmlEditingScope is active and raises an EditingScopeCompleted event whenever the XmlEditingScope is completed or reverted, or when an undo/redo operation is performed.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



