示例#1
0
 public string this[string header]
 {
     get
     {
         int itemIndex = table.GetHeaderIndex(header);
         return(items[itemIndex]);
     }
     set
     {
         int keyIndex = table.GetHeaderIndex(header, true);
         items[keyIndex] = value;
     }
 }
示例#2
0
 public string this[string header]
 {
     get
     {
         int itemIndex = table.GetHeaderIndex(header);
         return(items[itemIndex]);
     }
 }