Share via


XmlModel Members

Represents one XML Editor buffer and returns a parse tree over that buffer in the form of an XDocument object.

The following tables list the members exposed by the XmlModel type.

Protected Constructors

  Name Description
  XmlModel Initializes a new instance of the XmlModel class.

Top

Public Properties

  Name Description
public property Document Gets the XDocument object that represents the current parse tree for the XML Editor buffer.
public property Name Gets the file name used to open this model.
public property SaveActionOnDispose Gets or sets whether to save the action when dispose is called.
public property Store Gets the XmlStore that this XmlModel belongs to.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Dispose Releases all resources used by the current instance of the XmlModel class.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetTextSpan Gets the TextSpan object that represents the location of the specified node in the buffer.
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

Public Events

  Name Description
public event BufferReloaded Occurs when the XDocument has been completely reloaded.

Top

See Also

Reference

XmlModel Class
Microsoft.VisualStudio.XmlEditor Namespace

Build Date:

2012-11-12