System.Net.Mail.MailAddressParser.ReadCfwsAndThrowIfIncomplete C# (CSharp) 메소드

ReadCfwsAndThrowIfIncomplete() 개인적인 정적인 메소드

private static ReadCfwsAndThrowIfIncomplete ( string data, int index ) : int
data string
index int
리턴 int
        private static int ReadCfwsAndThrowIfIncomplete(string data, int index)
        {
            index = WhitespaceReader.ReadCfwsReverse(data, index);
            if (index < 0)
            {
                // More components were expected.  Incomplete address, invalid
                throw new FormatException(SR.MailAddressInvalidFormat);
            }
            return index;
        }