Dela via


SourceModifier Members

Include Protected Members
Include Inherited Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Used to modify the contents of a source document.

The SourceModifier type exposes the following members.

Constructors

 

Name

Description

Public method

SourceModifier

Overloaded. Initializes a new instance of the SourceModifier class.

Top

Methods

 

Name

Description

Public method

Add

Overloaded. Adds text to the source document.

Public method

Commit

Commits all the add, delete, move, and replace operations made by using this object.

Public method

Delete

Overloaded. Deletes characters from the source document.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

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

MergeFragments

Requests a set of fragments that are relative to the unmodified document to be reflected in the enumeration returned by the Commit method updated to be relative to the modified document.

Public method

Move

Overloaded. Moves characters in the source document.

Public method

Replace

Overloaded. Replaces characters at the specified location with new characters.

Public method

RestrictChangesTo

Overloaded. Restricts a set of changes to only those areas that have been affected by a previous change.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Changer

Gets the source changer passed into the constructor.

Protected property

Reader

Gets the source reader passed into the constructor.

Top

See Also

Reference

SourceModifier Class

Microsoft.Windows.Design.SourceUpdate Namespace