CSharpTest.Net
CsvReader Class Members
See Also  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Data Namespace : CsvReader Class


Glossary Item Box

The following tables list the members exposed by CsvReader.

Public Constructors

 NameDescription
Public ConstructorCsvReader ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyDepthReturns the depth (zero based) of the reader when using nested CSV parsers  
Public PropertyFieldCountReturns the number of fields defined in this record  
Public PropertyIsClosedReturns true if the reader has been closed  
Public PropertyItemOverloaded. Returns the string content of the field by name  
Public PropertyRecordsAffectedReturns the current record number of the parser  
Top

Public Methods

 NameDescription
Public MethodCloseCloses the csv reader and disposes the underlying text reader  
Public MethodDisposeDisposes of the reader  
Public MethodGetBooleanGets the value of the specified column as a Boolean.  
Public MethodGetByteGets the 8-bit unsigned integer value of the specified column.  
Public MethodGetBytesReads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.  
Public MethodGetCharGets the character value of the specified column.  
Public MethodGetCharsReads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.  
Public MethodGetDataReturns a CsvReader for the specified column ordinal.  
Public MethodGetDateTimeGets the date and time data value of the specified field.  
Public MethodGetDecimalGets the fixed-position numeric value of the specified field.  
Public MethodGetDoubleGets the double-precision floating point number of the specified field.  
Public MethodGetFieldTypeReturns typeof(String)  
Public MethodGetFloatGets the single-precision floating point number of the specified field.  
Public MethodGetGuidReturns the GUID value of the specified field.  
Public MethodGetInt16Gets the 16-bit signed integer value of the specified field.  
Public MethodGetInt32Gets the 32-bit signed integer value of the specified field.  
Public MethodGetInt64Gets the 64-bit signed integer value of the specified field.  
Public MethodGetNameReturns the name of the column by ordinal  
Public MethodGetOrdinalReturns the ordinal of the column by name  
Public MethodGetSchemaTableReturns a DataTable which defines the columns in this CSV file  
Public MethodGetStringOverloaded. Gets the string value of the specified field.  
Public MethodGetValueReturns the string content of the field by ordinal  
Public MethodGetValuesOverloaded. Returns an object[] containing all the strings for the current record.  
Public MethodIsDBNullReturn whether the specified field is set to null.  
Public MethodReadAdvances the System.Data.IDataReader to the next record.  
Public Methodstatic (Shared in Visual Basic)ReadCsvLineProvides a single-record parser of CSV content  
Top

See Also

Generated with Document! X 2011 by Innovasys