C# 클래스 Azavea.Open.DAO.CSV.WriterInfo

We need the writer but we also need to know whether we should write a header to it or not.
파일 보기 프로젝트 열기: azavea/net-dao-csv 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NeedsHeader bool
Writer System.IO.TextWriter

공개 메소드들

메소드 설명
WriterInfo ( TextWriter writer, bool needsHeader ) : System

Create the info and initialize the fields.

WriterInfo ( string filePath, bool append, bool namedColumns ) : System

Create the info and initialize the fields.

메소드 상세

WriterInfo() 공개 메소드

Create the info and initialize the fields.
public WriterInfo ( TextWriter writer, bool needsHeader ) : System
writer System.IO.TextWriter The writer to write CSV data to.
needsHeader bool Whether we should write a header line (I.E. false if /// there is already data there or we already wrote one).
리턴 System

WriterInfo() 공개 메소드

Create the info and initialize the fields.
public WriterInfo ( string filePath, bool append, bool namedColumns ) : System
filePath string The path to the CSV file.
append bool True to append to an existing file, false to replace it.
namedColumns bool Are we using named columns or numerical indexes.
리턴 System

프로퍼티 상세

NeedsHeader 공개적으로 프로퍼티

Whether we should write a header line (I.E. false if there is already data there or we already wrote one).
public bool NeedsHeader
리턴 bool

Writer 공개적으로 프로퍼티

The writer to write CSV data to.
public TextWriter,System.IO Writer
리턴 System.IO.TextWriter