Visual Basic (Declaration) | |
---|---|
Public Overloads Function Parse( _ ByVal s As String, _ ByRef formatInfo As IFormatProvider, _ ByRef formatString As String _ ) As Object |
Visual Basic (Usage) | Copy Code |
---|---|
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) |
C# | |
---|---|
public object Parse( string s, ref IFormatProvider formatInfo, ref string formatString ) |
Parameters
- s
- String
- formatInfo
- IFormatProvider
- formatString
- String
Return Value
Results of the parsingException | Description |
---|---|
ParseException | Not a valid hexidecimal number. |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8