Spread Windows Forms 7.0 Product Documentation
Parse Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ILabelFormatter2 Interface : Parse Method


s
String
formatInfo
IFormatProvider
formatString
String

Glossary Item Box

Parses the string to an object and returns the result.

Syntax

Visual Basic (Declaration) 
Function Parse( _
   ByVal s As String, _
   ByRef formatInfo As IFormatProvider, _
   ByRef formatString As String _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As ILabelFormatter2
Dim s As String
Dim formatInfo As IFormatProvider
Dim formatString As String
Dim value As Object
 
value = instance.Parse(s, formatInfo, formatString)
C# 
object Parse( 
   string s,
   ref IFormatProvider formatInfo,
   ref string formatString
)

Parameters

s
String
formatInfo
IFormatProvider
formatString
String

Return Value

Results of the parsing

Exceptions

ExceptionDescription
ParseExceptionNot a valid hexidecimal number.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.