Beispiel #1
0
        /// <summary>
        /// get all roster notes
        /// </summary>
        /// <returns></returns>
        public RosterNote[] GetRosterNotes()
        {
            ElementList nl = SelectElements(typeof(RosterNote));

            RosterNote[] items = new RosterNote[nl.Count];
            int          i     = 0;

            foreach (Element e in nl)
            {
                items[i] = (RosterNote)e;
                i++;
            }
            return(items);
        }
Beispiel #2
0
 /// <summary>
 /// Add a note to the storage object
 /// </summary>
 /// <param name="note">The note.</param>
 /// <returns></returns>
 public RosterNote AddNote(RosterNote note)
 {
     AddChild(note);
     return(note);
 }