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 parsingException | Description |
---|---|
ParseException | Not a valid hexidecimal number. |
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