[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1TextPointer

C1TextPointer Class

This class represents a text position within the XmlDocument.

Inheritance
C1TextPointer
Namespace: C1.Win.C1Editor
Assembly: C1.Win.C1Editor.4.8.dll
Syntax
public sealed class C1TextPointer : IEquatable<C1TextPointer>
Remarks

Allows the text contents of the document to be programmatically manipulated from your program.

Properties

Name Description
LeftNode

Gets the next node to the left.

Node

XmlNode which contains the text pointer.

Offset

Returns offset (as number of characters) of the text pointer, in relation to the LeftNode.

RightNode

Gets the next node to the right.

Methods

Name Description
Equals(C1TextPointer)

Compares two C1TextPointer objects for equality.

Equals(object)

Overrides Equals(object)

GetHashCode()

Returns the hash code for this instance.

Move(MoveUnit, int)

Moves this C1TextPointer object by 'count' number of units.

MoveTo(C1TextPointer)

Moves this C1TextPointer object to another pointer's location.

Operators

Name Description
operator ==(C1TextPointer, C1TextPointer)

The equality operator (==) compares two C1TextPointer operands and returns True if the C1TextPointer operands are equal; otherwise, it returns False.

operator >(C1TextPointer, C1TextPointer)

Checks to see whether this text pointer's position is to the right of another text pointer's position.

operator >=(C1TextPointer, C1TextPointer)

Checks to see whether this text pointer's position is to the right of or is equal to another text pointer's position.

operator !=(C1TextPointer, C1TextPointer)

The inequality operator (!=) returns False if its operands of C1TextPointer type are equal; otherwise, it returns True.

operator <(C1TextPointer, C1TextPointer)

Checks to see whether this text pointer's position is to the left of another text pointer's position.

operator <=(C1TextPointer, C1TextPointer)

Checks to see whether this text pointer's position is to the left of or is equal to another text pointer's position.