Method GetIndent
GetIndent(int, int)
When implemented by a class, returns indentation level of this syntax node.
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)
When implemented by a class, returns indentation level of this syntax node.
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.