| Vector2DParse Method (String, IFormatProvider) |
Converts the string representation of a 2-dimensional vector in a specified culture-specific
format to its
Vector2D equivalent.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector2D Parse(
string s,
IFormatProvider provider
)
Public Shared Function Parse (
s As String,
provider As IFormatProvider
) As Vector2D
public:
static Vector2D Parse(
String^ s,
IFormatProvider^ provider
)
static member Parse :
s : string *
provider : IFormatProvider -> Vector2D
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:
Vector2D
A
Vector2D that represents the vector specified by the
s
parameter.
Exceptions See Also