Converts the specified string representation of a 4-dimensional vector to its Vector4F equivalent, or throws an exception if the string cannot be converted to a Vector4F.

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 Vector4F ParseVector4F(
	string value
)
Visual Basic
Public Shared Function ParseVector4F ( _
	value As String _
) As Vector4F
Visual C++
public:
static Vector4F ParseVector4F(
	String^ value
)

Parameters

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

Return Value

The Vector4F.

Exceptions

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

See Also