anmar.SharpMimeTools.SharpMimeMessage.Close C# (CSharp) Method

Close() public method

Clears the parts references contained in this instance and calls the Close method in those parts.
This method does not close the underling System.IO.Stream used to create this instance.
public Close ( ) : void
return void
        public void Close()
        {
            foreach ( anmar.SharpMimeTools.SharpMimeMessage part in this.mi.parts )
                part.Close();
            this.mi.parts.Clear();
        }