Spread Windows Forms 10.0 Product Documentation
Parse(String,IFormatProvider,String) Method


String
IFormatProvider
String
Parses the string to an object and returns the result.
Syntax
'Declaration
 
Public Overloads Function Parse( _
   ByVal s As String, _
   ByRef formatInfo As IFormatProvider, _
   ByRef formatString As String _
) As Object
'Usage
 
Dim instance As GeneralFormatter
Dim s As String
Dim formatInfo As IFormatProvider
Dim formatString As String
Dim value As Object
 
value = instance.Parse(s, formatInfo, formatString)
public 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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

GeneralFormatter Class
GeneralFormatter Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.