Dela via


StringSourceModifier 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.

A version of a source modifier that modifies a string.

The StringSourceModifier type exposes the following members.

Constructors

 

Name

Description

Public method

StringSourceModifier

Initializes a new instance of the StringSourceModifier 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. (Inherited from SourceModifier.)

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. (Inherited from SourceModifier.)

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 the modified string. (Overrides Object.ToString().)

Top

Properties

 

Name

Description

Protected property

Changer

Gets the source changer passed into the constructor. (Inherited from SourceModifier.)

Protected property

Reader

Gets the source reader passed into the constructor. (Inherited from SourceModifier.)

Top

See Also

Reference

StringSourceModifier Class

Microsoft.Windows.Design.SourceUpdate Namespace