|
AngleParse(String) Method
|
Converts the string representation of a number to its
Angle equivalent.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+0f4e919571e6ec7e8e07a8e325416284b7e38fa3
Syntaxpublic static Angle Parse(
string s
)
Public Shared Function Parse (
s As String
) As Angle
public:
static Angle Parse(
String^ s
)
static member Parse :
s : string -> Angle GSF.Units.Angle.Parse = function(s);
View SourceParameters
- s String
- A string containing a number to convert.
Return Value
Angle
An
Angle equivalent to the number contained in s.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | s is null. |
| OverflowException |
s represents a number less than MinValue or greater than MaxValue.
|
| FormatException | s is not in the correct format. |
See Also