ImageMan.Net Version 3 Summer 2012 Release
Parse Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > MathEx.UFraction32 Structure : Parse Method





s
A string formatted as numerator/denominator

Glossary Item Box

Converts the string representation of a fraction to a fraction object.

Syntax

Visual Basic (Declaration) 
Public Shared Function Parse( _
   ByVal s As System.String _
) As MathEx.UFraction32
Visual Basic (Usage)Copy Code
Dim s As System.String
Dim value As MathEx.UFraction32
 
value = MathEx.UFraction32.Parse(s)
C# 
public static MathEx.UFraction32 Parse( 
   System.string s
)
JScript 
public static function Parse( 
   s : System.String
) : MathEx.UFraction32;
Managed Extensions for C++ 
public: static MathEx.UFraction32 Parse( 
   System.string* s
) 
C++/CLI 
public:
static MathEx.UFraction32 Parse( 
   System.String^ s
) 

Parameters

s
A string formatted as numerator/denominator

Return Value

A fraction object converted from s.

Exceptions

ExceptionDescription
System.ArgumentNullExceptions is null
System.FormatExceptions is not in the correct format
System.OverflowException s represents a number less than System.UInt32.MinValue or greater than System.UInt32.MaxValue.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.