public org.apache.poi.hssf.record.Record findFirstRecordBySid(short sid) {for (org.apache.poi.hssf.record.Record record : records.getRecords() ) {if (record.getSid() == sid) {return record;}}return null;}
public Record FindFirstRecordBySid(short sid){for (IEnumerator iterator = records.GetEnumerator(); iterator.MoveNext(); ){Record record = (Record)iterator.Current;if (record.Sid == sid){return record;}}return null;}