Value.AsString Property

Gets the string representation of this value.

public string AsString { get; }

Remarks

This method will attempt to convert the value to a string, if it isn’t already. Conversions are done using the CultureInfo class’s InvariantCulture.

Exceptions

Exception Description
InvalidOperationException Thrown when the underlying value cannot be converted to a string.

Source

Defined in YarnSpinner/Value.cs, line 173.