C# Class Smrf.AppLib.ExcelTableReader.ExcelTableRow

Represents one row in an Excel table.
Use TryGetNonEmptyStringFromCell to get one cell value. Use GetRangeForCell to get the one-cell Range object for a cell.
Inheritance: Object
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_oExcelTableReader ExcelTableReader

Méthodes publiques

Méthode Description
ExcelTableRow ( ExcelTableReader excelTableReader ) : System

Initializes a new instance of the ExcelTableRow class.

GetRangeForCell ( String columnName ) : Range
TryGetDoubleFromCell ( String columnName, Double &theDouble ) : System.Boolean
TryGetInt32FromCell ( String columnName, Int32 &int32 ) : System.Boolean
TryGetNonEmptyStringFromCell ( String columnName, String &nonEmptyString ) : System.Boolean
TryGetSingleFromCell ( String columnName, System.Single &theSingle ) : System.Boolean

Private Methods

Méthode Description
AssertValid ( ) : void

Method Details

ExcelTableRow() public méthode

Initializes a new instance of the ExcelTableRow class.
public ExcelTableRow ( ExcelTableReader excelTableReader ) : System
excelTableReader ExcelTableReader /// The table reader object that owns this object. ///
Résultat System

GetRangeForCell() public méthode

public GetRangeForCell ( String columnName ) : Range
columnName String
Résultat Range

TryGetDoubleFromCell() public méthode

public TryGetDoubleFromCell ( String columnName, Double &theDouble ) : System.Boolean
columnName String
theDouble Double
Résultat System.Boolean

TryGetInt32FromCell() public méthode

public TryGetInt32FromCell ( String columnName, Int32 &int32 ) : System.Boolean
columnName String
int32 System.Int32
Résultat System.Boolean

TryGetNonEmptyStringFromCell() public méthode

public TryGetNonEmptyStringFromCell ( String columnName, String &nonEmptyString ) : System.Boolean
columnName String
nonEmptyString String
Résultat System.Boolean

TryGetSingleFromCell() public méthode

public TryGetSingleFromCell ( String columnName, System.Single &theSingle ) : System.Boolean
columnName String
theSingle System.Single
Résultat System.Boolean

Property Details

m_oExcelTableReader protected_oe property

protected ExcelTableReader,Smrf.AppLib m_oExcelTableReader
Résultat ExcelTableReader