System.Text.UTF7Encoding.GetMaxCharCount C# (CSharp) Метод

GetMaxCharCount() публичный Метод

public GetMaxCharCount ( int byteCount ) : int
byteCount int
Результат int
        public override int GetMaxCharCount(int byteCount)
        {
            throw null;
        }

Usage Example

Пример #1
0
 public void NegTest1()
 {
     UTF7Encoding utf7 = new UTF7Encoding();
     int byteCount = -1;
     Assert.Throws<ArgumentOutOfRangeException>(() =>
     {
         int maxCharCount = utf7.GetMaxCharCount(byteCount);
     });
 }
All Usage Examples Of System.Text.UTF7Encoding::GetMaxCharCount