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