FarPoint.Excel アセンブリ > FarPoint.Excel 名前空間 > ExcelWarningList クラス : Count プロパティ |
'Declaration Public ReadOnly Property Count As Integer
'使用法 Dim instance As ExcelWarningList Dim value As Integer value = instance.Count
public int Count {get;}
FarPoint.Excel.ExcelWarningList warningList = new FarPoint.Excel.ExcelWarningList(); fpSpread1.OpenExcel("c:\\test.xlsx", FarPoint.Excel.ExcelOpenFlags.NoFlagsSet, warningList); if (warningList.Count > 0) for (int i = 0; i < warningList.Count; i++) MessageBox.Show(warningList[i].Message);
Dim warningList As New FarPoint.Excel.ExcelWarningList() FpSpread1.OpenExcel("c:\test.xlsx", FarPoint.Excel.ExcelOpenFlags.NoFlagsSet, warningList) If warningList.Count > 0 Then For i As Integer = 0 To warningList.Count - 1 MessageBox.Show(warningList(i).Message) Next End If