Gemstone Common Library
Show/Hide TOC

# AngleParse(String) Method

Converts the string representation of a number to its Angle equivalent.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
C#
View Source Request Example

    public static Angle Parse(
    	string s
    )

VB
View Source Request Example

    Public Shared Function Parse (
    	s As String
    ) As Angle

C++
View Source Request Example

    public:
    static Angle Parse(
    	String^ s
    )

JavaScript
View Source Request Example

    Gemstone.Units.Angle.Parse = function(s);

#### Parameters

s String
  A string containing a number to convert.

#### Return Value

Angle
An Angle equivalent to the number contained in s.

## Exceptions

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

#### Reference

Angle Structure
Parse Overload
Gemstone.Units Namespace