XmlStore Class

 

Manages the XmlModel objects.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)

System::Object
  Microsoft.VisualStudio.XmlEditor::XmlStore

[CLSCompliantAttribute(false)]
public ref class XmlStore abstract : IDisposable

NameDescription
System_CAPS_protmethodXmlStore()

Initializes a new instance of the XmlStore class.

NameDescription
System_CAPS_pubpropertyCurrentEditingScope

Gets the current XmlEditingScope that is associated with this store.

System_CAPS_pubpropertySynchronizingObject

Gets or sets the ISynchronizeInvoke object.

System_CAPS_pubpropertyUndoManager

Get or set the IOleUndoManager associated with this XmlStore.

System_CAPS_pubpropertyXmlModels

Gets a list of all open XmlModel objects that are associated with this store.

NameDescription
System_CAPS_pubmethodBeginEditingScope(String^, Object^)

Begins a new editing operation on one or more models in this XmlStore.

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the XmlStore class.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOpenXmlModel(Uri^)

Loads a new XmlModel for the specified file name.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventEditingScopeCompleted

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.

System_CAPS_pubeventUndoRedoCompleted

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.

Return to top
Show: