Click or drag to resize

ExcelHelperInitCSVVBParser Method

Create and configure a Microsoft VB TextFieldParser to parse a CSV file

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static TextFieldParser InitCSVVBParser(
	string csvPath,
	char? separator,
	Encoding encoding,
	bool hasFieldsEnclosedInQuotes = true,
	bool trimWhiteSpace = true
)

Parameters

csvPath  String
 
separator  NullableChar
 
encoding  Encoding
 
hasFieldsEnclosedInQuotes  Boolean  (Optional)
 
trimWhiteSpace  Boolean  (Optional)
 

Return Value

TextFieldParser
See Also