Interface IRecord
A record in a IRecordSet. Column values can be accessed by either column name or a zero-based index.
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
public interface IRecord
Properties
Count
Gets the number of columns in the record.
Declaration
int Count { get; }
Property Value
Type | Description |
---|---|
int | the number of columns |
Names
Get the names of the columns in the record.
Declaration
IList<string> Names { get; }
Property Value
Type | Description |
---|---|
IList<string> | a list of column names |
Methods
Get(int)
Gets the value of a column by column index.
Declaration
string Get(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | zero-based the column index |
Returns
Type | Description |
---|---|
string | the column value ApptrieveException if the column index is invalid |
Get(string)
Gets the value of a column by column name.
Declaration
string Get(string column)
Parameters
Type | Name | Description |
---|---|---|
string | column | the column name |
Returns
Type | Description |
---|---|
string | the column value ApptrieveException if the column name is invalid |
GetName(int)
Gets the name of a column.
Declaration
string GetName(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | the zero-based column index |
Returns
Type | Description |
---|---|
string | the name of the column at the specified index ApptrieveException if the column index is invalid |
IndexOf(string)
Gets the index of column.
Declaration
int IndexOf(string column)
Parameters
Type | Name | Description |
---|---|---|
string | column | the column name |
Returns
Type | Description |
---|---|
int | the column index |