C# 클래스 Support.IO.CSVFile

파일 보기 프로젝트 열기: nhmkdev/cardmaker 1 사용 예제들

공개 메소드들

메소드 설명
AddRow ( List listElements ) : void
AddRow ( string arrayElements ) : void
AppendRow ( int nRow, string sItem ) : void
CSVFile ( string sFile, bool bKeepQuotes, bool bReadEmptyLines, Encoding eEncoding ) : System
GetIndexFromRow ( int nRow, string sItem ) : int

Seeks the column index based on the specified string in the row indicated.

GetItem ( int nRow, int nColumn ) : string
GetLine ( int nLine ) : string

Returns the raw line from the CSV

GetRow ( int nRow ) : List

Returns the actual row

SetItem ( int nRow, int nColumn, string sItem ) : void
ToString ( ) : string
Write ( string sFile, Encoding eEncoding ) : bool
Write ( Encoding eEncoding ) : void

비공개 메소드들

메소드 설명
CSVFile ( ) : System

메소드 상세

AddRow() 공개 메소드

public AddRow ( List listElements ) : void
listElements List
리턴 void

AddRow() 공개 메소드

public AddRow ( string arrayElements ) : void
arrayElements string
리턴 void

AppendRow() 공개 메소드

public AppendRow ( int nRow, string sItem ) : void
nRow int
sItem string
리턴 void

CSVFile() 공개 메소드

public CSVFile ( string sFile, bool bKeepQuotes, bool bReadEmptyLines, Encoding eEncoding ) : System
sFile string
bKeepQuotes bool
bReadEmptyLines bool
eEncoding System.Text.Encoding
리턴 System

GetIndexFromRow() 공개 메소드

Seeks the column index based on the specified string in the row indicated.
public GetIndexFromRow ( int nRow, string sItem ) : int
nRow int
sItem string
리턴 int

GetItem() 공개 메소드

public GetItem ( int nRow, int nColumn ) : string
nRow int
nColumn int
리턴 string

GetLine() 공개 메소드

Returns the raw line from the CSV
public GetLine ( int nLine ) : string
nLine int
리턴 string

GetRow() 공개 메소드

Returns the actual row
public GetRow ( int nRow ) : List
nRow int
리턴 List

SetItem() 공개 메소드

public SetItem ( int nRow, int nColumn, string sItem ) : void
nRow int
nColumn int
sItem string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Write() 공개 메소드

public Write ( string sFile, Encoding eEncoding ) : bool
sFile string
eEncoding System.Text.Encoding
리턴 bool

Write() 공개 메소드

public Write ( Encoding eEncoding ) : void
eEncoding System.Text.Encoding
리턴 void