a simple helper object for get string value
IStringGetter
01 Syntax
Microsoft.VisualBasic.ComponentModel.DataSourceModel.IStringGetter
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| HasKey | 1 | check the given key name is existed inside current string collection data source |
| GetString | 2 | get a string by a given collection index(offset). |
| GetSize | 1 | get the string collection size |
| GetOrdinal | 1 | Return the index Of the named field. |
| MoveNext | 1 | optionally implements this function for move the reader cursor to next row if this data source consists with mutliple rows. |
03 Members
HasKey(
String)check the given key name is existed inside current string collection data source
Parameters
| Name | Type | Description |
|---|---|---|
name | String | - |
GetString(
String)get a string by a given key name.
Parameters
| Name | Type | Description |
|---|---|---|
name | String | - |
GetString(
Int32)get a string by a given collection index(offset).
Parameters
| Name | Type | Description |
|---|---|---|
ordinal | Int32 | - |
GetSize
get the string collection size
GetOrdinal(
String)Return the index Of the named field.
Returns
If the name is not exists in the parameter list, then a -1 value will be return.
MoveNext
optionally implements this function for move the reader cursor to next row if this data source consists with mutliple rows.
Remarks
non-table liked data source should always returns false