Visual Basic (Declaration) | |
---|---|
Public Sub GetParseFormat( _ ByVal row As Integer, _ ByVal column As Integer, _ ByRef formatString As String, _ ByRef info As IFormatProvider _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DefaultSheetStyleModel Dim row As Integer Dim column As Integer Dim formatString As String Dim info As IFormatProvider instance.GetParseFormat(row, column, formatString, info) |
C# | |
---|---|
public void GetParseFormat( int row, int column, ref string formatString, ref IFormatProvider info ) |
Parameters
- row
- Row index of the cell
- column
- Column index of the cell
- formatString
- Format string
- info
- IFormatProvider to handle the formatting
Exception | Description |
---|---|
System.IndexOutOfRangeException | Specified row index is not valid; must be between -1 and the total number of rows |
System.IndexOutOfRangeException | Specified column index is not valid; must be between -1 and the total number of columns |
The info is the IFormatProvider object built by the parser to handle formatting.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6