| Vector2FParse Method (String, IFormatProvider) |
Converts the string representation of a 2-dimensional vector in a specified culture-specific
format to its
Vector2F equivalent.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector2F Parse(
string s,
IFormatProvider provider
)
Public Shared Function Parse (
s As String,
provider As IFormatProvider
) As Vector2F
public:
static Vector2F Parse(
String^ s,
IFormatProvider^ provider
)
static member Parse :
s : string *
provider : IFormatProvider -> Vector2F
Parameters
- s
- Type: SystemString
A string representation of a 2-dimensional vector. - provider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information about
s.
Return Value
Type:
Vector2F
A
Vector2F that represents the vector specified by the
s
parameter.
Exceptions See Also