BitMiracle.LibTiff.Classic.TiffStream.Close C# (CSharp) 메소드

Close() 공개 메소드

Closes the current stream.
public Close ( object clientData ) : void
clientData object A client data (by default, an underlying stream).
리턴 void
        public virtual void Close(object clientData)
        {
            Stream stream = clientData as Stream;
            if (stream == null)
                throw new ArgumentException("Can't get underlying stream to close");

            stream.Close();
        }