Delen via


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

Represents a range of contiguous characters that start from a character offset and run for a specified length.

The TextRange type exposes the following members.

Methods

 

Name

Description

Public method

CompareTo

Compares two text ranges.

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

MoveTo

Moves the text range to the location of another text range.

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

IsFree

Gets a value indicating whether the text range is a free range.

Public property

Kind

Gets a value that indicates the text range kind.

Public property

Length

Gets the length of the text range.

Public property

Location

Gets the start of the text range as an offset from the beginning of the file.

Top

See Also

Reference

TextRange Class

Microsoft.Windows.Design.SourceUpdate Namespace