Метод Dispose в классе MemoryStream применяется для освобождения ресурсов, занятых текущим объектом. Этот метод закрывает текущий поток и освобождает все ресурсы, связанные с ним, такие как буфер памяти. Dispose вызывает метод Close, который выполняет аналогичные действия. После вызова Dispose объект MemoryStream нельзя больше использовать.
C# (CSharp) System.IO MemoryStream.Dispose - 54 примеров найдено. Это лучшие примеры C# (CSharp) кода для System.IO.MemoryStream.Dispose, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.