Property | Type | Description | |
---|---|---|---|
ColumnName | string | ||
DefaultValue | object | ||
Description | string | ||
End | int | ||
Seeker | FixedWidthPositions | ||
Start | int | ||
Strict | bool | ||
Terminator | FixedWidthTerminators | ||
Type | FixedWidthTypes |
Method | Description | |
---|---|---|
FixedWidthField ( ) : System | ||
FixedWidthField ( |
||
FixedWidthField ( int start, int end, FixedWidthTypes type, FixedWidthPositions seeker, FixedWidthTerminators terminator ) : System | ||
FixedWidthField ( int start, int end, FixedWidthTypes type, FixedWidthPositions seeker, FixedWidthTerminators terminator, object defaultValue, bool strict ) : System | ||
FixedWidthField ( string columnName, string description, int length, int start ) : System | ||
FixedWidthField ( string columnName, string description, int length, int start, FixedWidthTypes type ) : System | ||
FixedWidthField ( string columnName, string description, int length, int start, FixedWidthTypes type, FixedWidthTerminators term ) : System | ||
GetFieldData ( string row, int ¤tPos ) : string |
Gets the raw data for this field from a row and updates the current position. Does not do any parsing. Throws errors if Strict is false.
|
|
GetFieldObject ( string row, int ¤tPos ) : object |
Gets the parsed object for this field from a row and updates the current position, as determined by Type.
|
Method | Description | |
---|---|---|
GetFieldRange ( string row, int currentPos, int &start, int &end ) : void |
public FixedWidthField ( |
||
old | ||
return | System |
public FixedWidthField ( int start, int end, FixedWidthTypes type, FixedWidthPositions seeker, FixedWidthTerminators terminator ) : System | ||
start | int | |
end | int | |
type | FixedWidthTypes | |
seeker | FixedWidthPositions | |
terminator | FixedWidthTerminators | |
return | System |
public FixedWidthField ( int start, int end, FixedWidthTypes type, FixedWidthPositions seeker, FixedWidthTerminators terminator, object defaultValue, bool strict ) : System | ||
start | int | |
end | int | |
type | FixedWidthTypes | |
seeker | FixedWidthPositions | |
terminator | FixedWidthTerminators | |
defaultValue | object | |
strict | bool | |
return | System |
public FixedWidthField ( string columnName, string description, int length, int start ) : System | ||
columnName | string | |
description | string | |
length | int | |
start | int | |
return | System |
public FixedWidthField ( string columnName, string description, int length, int start, FixedWidthTypes type ) : System | ||
columnName | string | |
description | string | |
length | int | |
start | int | |
type | FixedWidthTypes | |
return | System |
public FixedWidthField ( string columnName, string description, int length, int start, FixedWidthTypes type, FixedWidthTerminators term ) : System | ||
columnName | string | |
description | string | |
length | int | |
start | int | |
type | FixedWidthTypes | |
term | FixedWidthTerminators | |
return | System |
public GetFieldData ( string row, int ¤tPos ) : string | ||
row | string | The row to read from |
currentPos | int | The current position in the row |
return | string |
public GetFieldObject ( string row, int ¤tPos ) : object | ||
row | string | The row to read from |
currentPos | int | The current position in the row |
return | object |