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

Inheritance: ITextRange
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ToString ( ) : string

Method Details

Contains() public méthode

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

HasPrefix() public abstract méthode

Determines if node name has namespace prefix
public abstract HasPrefix ( ) : bool
Résultat bool

Shift() public abstract méthode

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

ShiftStartingFrom() public abstract méthode

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
Résultat void