共用方式為


EditArray Members

Include Protected Members
Include Inherited Members

Merges multiple edit operations to create a single operation.

The EditArray type exposes the following members.

Constructors

  Name Description
Public method EditArray Initializes a new instance of the EditArray class using a Source object and an IVsTextView object.

Top

Methods

  Name Description
Public method Add Adds the specified EditSpan object to the array of edit operations.
Public method ApplyEdits Applies all edit operations that have been accumulated.
Public method Dispose Disposes the EditArray object and its resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Tears down the EditArray object. (Overrides Object.Finalize().)
Public method GetEnumerator Gets a default enumerator for the edit operations.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Converts the array of edit operations to a formatted string. (Overrides Object.ToString().)

Top

Properties

  Name Description
Public property Count Gets the number of edit operations represented in the EditArray object.
Public property Source Gets the Source object associated with this EditArray object.
Public property TextView Gets the IVsTextView object associated with this EditArray object.

Top

See Also

Reference

EditArray Class

Microsoft.VisualStudio.Package Namespace