GmailClient.GetMailItem C# (CSharp) Method

GetMailItem() public method

Returns the GmailItem at the specified index
public GetMailItem ( int index ) : GmailItem
index int Index if the mail item to return
return GmailItem
        public GmailItem GetMailItem(int index)
        {
            if (_newMailList == null || index < 0 || index > _newMailList.Count)
            {
                throw new IndexOutOfRangeException();
            }
            return _newMailList[index];
        }
        /// <summary>