Method GetIndent
GetIndent(int, int)
Returns indentation level of this syntax node.
public virtual int GetIndent(int index, int indent)
Parameters
index
intSpecifies line to obtain indentation level.
indent
intDefault value of indentation level.
Returns
- int
Indentation level of the node at the specified position.
GetIndent(int, int, out bool)
Returns indentation level of this syntax node.
public virtual int GetIndent(int index, int indent, out bool actualPosition)
Parameters
index
intSpecifies line to obtain indentation level.
indent
intDefault value of indentation level.
actualPosition
boolIf true, the indentation position will be returned, otherwise, the level.
Returns
- int
Indentation level of the node at the specified position.