C# Class Microsoft.Html.Core.Tree.Nodes.TreeNode

Inheritance: ITextRange
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Contains ( int position ) : bool

Determines if node contains given position

HasPrefix ( ) : bool

Determines if node name has namespace prefix

Shift ( int offset ) : void

Shifts node start, end and all child elements by the specified offset.

ShiftStartingFrom ( int position, int offset ) : void

Shifts node components that are located at or beyond given start point by the specified range

Private Methods

Method Description
ToString ( ) : string

Method Details

Contains() public method

Determines if node contains given position
public Contains ( int position ) : bool
position int Position in a text buffer
return bool

HasPrefix() public abstract method

Determines if node name has namespace prefix
public abstract HasPrefix ( ) : bool
return bool

Shift() public abstract method

Shifts node start, end and all child elements by the specified offset.
public abstract Shift ( int offset ) : void
offset int
return void

ShiftStartingFrom() public abstract method

Shifts node components that are located at or beyond given start point by the specified range
public abstract ShiftStartingFrom ( int position, int offset ) : void
position int
offset int Offset to shift by
return void