FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > LoadTextFile メソッド : LoadTextFile(String,TextFileFlags,IncludeHeaders,String,String,String) メソッド |
'Declaration
Public Overloads Sub LoadTextFile( _ ByVal fileName As String, _ ByVal textFileFlags As TextFileFlags, _ ByVal includeHeaders As IncludeHeaders, _ ByVal rowDelimiter As String, _ ByVal columnDelimiter As String, _ ByVal cellDelimiter As String _ )
public void LoadTextFile( string fileName, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter )
例外 | 説明 |
---|---|
System.ArgumentException | セル区切り文字列を行または列の区切り文字列に含めることはできません。 |
fpSpread1.ActiveSheet.LoadTextFile("c:\\test.txt", FarPoint.Win.Spread.TextFileFlags.Unformatted, FarPoint.Win.Spread.Model.IncludeHeaders.None, "\n", ",", "");
FpSpread1.ActiveSheet.LoadTextFile("c:\test.txt", FarPoint.Win.Spread.TextFileFlags.Unformatted, FarPoint.Win.Spread.Model.IncludeHeaders.None, Chr(10), ",", "")