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