The TextPointer type exposes the following members.

Constructors

  NameDescription
Public methodTextPointer()()()()
Initializes a new instance of the TextPointer class.
Public methodTextPointer(Int32, Int32)
Initializes a new instance of the TextPointer class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMax
Returns the larger of two text pointers.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMin
Returns the smaller of two text pointers.
Public methodToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberGreaterThan
Implements the operator >.
Public operatorStatic memberGreaterThanOrEqual
Implements the operator >=.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLessThan
Implements the operator <.
Public operatorStatic memberLessThanOrEqual
Implements the operator <=.

Properties

  NameDescription
Public propertyPageNumber
Gets the page number.
Public propertyTextIndex
Gets the index of this position in its document text.

See Also