System.Xml.XmlCharCheckingWriter.WriteChars C# (CSharp) Méthode

WriteChars() public méthode

public WriteChars ( char buffer, int index, int count ) : void
buffer char
index int
count int
Résultat void
        public override void WriteChars( char[] buffer, int index, int count ) {
            if ( checkValues ) {
                CheckCharacters( buffer, index, count );
            }
            if ( replaceNewLines && WriteState != WriteState.Attribute ) {
                string text = ReplaceNewLines( buffer, index, count );
                if ( text != null ) {
                    WriteString( text );
                    return;
                }
            }
            writer.WriteChars( buffer, index, count );
        }