public Dictionary<string, NcVarAtt> GetAtts() { CheckNull(); int attCount = GetAttCount(); Dictionary<string, NcVarAtt> ncAtts = new Dictionary<string, NcVarAtt>(); NcVarAtt tmpAtt; for(int i=0;i<attCount;i++) { tmpAtt = new NcVarAtt(groupId, myId, i); ncAtts.Add(tmpAtt.GetName(), tmpAtt); } return ncAtts; }