System.Data.SQLite.SQLiteDataReader.GetString C# (CSharp) Method

GetString() public method

public GetString ( int i ) : string
i int
return string
        public string GetString(int i)
        {
            return __reader.GetString(i);
        }

Usage Example

Example #1
0
 private Person BuildUserStructure(SQLiteDataReader reader)
 {
     string name = reader.GetString(0);
     string fullName = reader.GetString(1);
     long personId = reader.GetInt64(2);
     return new Person(name, fullName, personId);
 }
All Usage Examples Of System.Data.SQLite.SQLiteDataReader::GetString