70afcfd0 1d6c bd03 4709 20087f976fef - akesseler/Plexdata.Utilities.Templates GitHub Wiki

HoleToken.ToIndex Method

Converts the symbol into an index, if possible, and returns it.

Namespace: Plexdata.Utilities.Formatting.Entities
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0

Syntax

C#

public override int ToIndex()

Return Value

Type: Int32
The zero based index of the corresponding value, or -1 if a conversion was impossible.

Remarks

This method returns the zero based index referencing the corresponding value within the list of arguments. In case of IsNumbering is true, this index is the integer version of the Symbol, otherwise this index is the value of Rating.

See Also

Reference

HoleToken Class
Plexdata.Utilities.Formatting.Entities Namespace
BaseToken.Symbol
BaseToken.IsNumbering
BaseToken.IsStringify
BaseToken.IsSpreading
BaseToken.ToLabel()

⚠️ **GitHub.com Fallback** ⚠️