Class OptionalLongConverter
UXML attribute converter for optional long values.
Inheritance
OptionalLongConverter
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: Unity.AppUI.Editor.dll
Syntax
public class OptionalLongConverter : OptionalValueConverter<long>
Methods
TryParse(string, out long)
Tries to parse the attribute value as a long.
Declaration
protected override bool TryParse(string value, out long v)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The string to parse. |
| long | v | The parsed value, or zero if parsing failed. |
Returns
| Type | Description |
|---|---|
| bool | True if the value could be parsed, False otherwise. |