System.Xml.XmlUtf8RawTextWriter.XmlUtf8RawTextWriter C# (CSharp) Méthode

XmlUtf8RawTextWriter() protected méthode

protected XmlUtf8RawTextWriter ( XmlWriterSettings settings, bool closeOutput ) : System
settings XmlWriterSettings
closeOutput bool
Résultat System
        protected XmlUtf8RawTextWriter( XmlWriterSettings settings, bool closeOutput ) {
            // copy settings
            newLineHandling = settings.NewLineHandling;
            omitXmlDeclaration = settings.OmitXmlDeclaration;
            newLineChars = settings.NewLineChars;
            standalone = settings.Standalone;
            outputMethod = settings.OutputMethod;
            checkCharacters = settings.CheckCharacters;
            mergeCDataSections = settings.MergeCDataSections;
            this.closeOutput = closeOutput;

            if ( checkCharacters && newLineHandling == NewLineHandling.Replace ) {
                ValidateContentChars( newLineChars, "NewLineChars", false );
            }
        }

Same methods

XmlUtf8RawTextWriter::XmlUtf8RawTextWriter ( Stream stream, Encoding encoding, XmlWriterSettings settings, bool closeOutput ) : System