ImageMan.Net Version 3 Summer 2012 Release
ToString(String,IFormatProvider) Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > MathEx.Fraction32 Structure > ToString Method : ToString(String,IFormatProvider) Method





format
A numeric format string.
formatProvider
An System.IFormatProvider that supplies culture-specific formatting information.

Glossary Item Box

Returns a string representation of the fraction.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ToString( _
   ByVal format As System.String, _
   ByVal formatProvider As System.IFormatProvider _
) As System.String
Visual Basic (Usage)Copy Code
Dim instance As MathEx.Fraction32
Dim format As System.String
Dim formatProvider As System.IFormatProvider
Dim value As System.String
 
value = instance.ToString(format, formatProvider)
C# 
public System.string ToString( 
   System.string format,
   System.IFormatProvider formatProvider
)
JScript 
public function ToString( 
   format : System.String,
   formatProvider : System.IFormatProvider
) : System.String;
Managed Extensions for C++ 
public: System.string* ToString( 
   System.string* format,
   System.IFormatProvider* formatProvider
) 
C++/CLI 
public:
System.String^ ToString( 
   System.String^ format,
   System.IFormatProvider^ formatProvider
) 

Parameters

format
A numeric format string.
formatProvider
An System.IFormatProvider that supplies culture-specific formatting information.

Return Value

The string representation of the value of this instance as specified by format and provider.

Exceptions

ExceptionDescription
System.FormatException format is invalid or not supported.

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.