Converts the specified string representation of a tile mode to its TileMode equivalent, or throws an exception if the string cannot be converted to a TileMode.

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.1.0.0 (1.1.1.9392)

Syntax

C#
public static TileMode ParseTileMode(
	string value
)
Visual Basic
Public Shared Function ParseTileMode ( _
	value As String _
) As TileMode
Visual C++
public:
static TileMode ParseTileMode(
	String^ value
)

Parameters

value
Type: System..::..String
The value. If this value is nullNothingnullptra null reference (Nothing in Visual Basic) or an empty string, None is returned as the default value.

Return Value

The TileMode.

Exceptions

ExceptionCondition
System..::..FormatException Cannot convert value to TileMode.

See Also