nMail.Attachment.GetBodySize C# (CSharp) Method

GetBodySize() protected method

���[���{���̍��v�T�C�Y��擾���܂��B
protected GetBodySize ( ) : int
return int
        protected int GetBodySize()
        {
            int size = 0;
            string str;

            for(int no = 0 ; no < _header_list.Count ; no++)
            {
                if(no < _body_list.Count)
                {
                    str = (string)_body_list[no];
                    size += str.Length;
                }
                str = (string)_header_list[no];
                size += str.Length;
            }
            return size;
        }