System.Xml.XmlTextEncoder.WriteRaw C# (CSharp) Méthode

WriteRaw() private méthode

private WriteRaw ( char array, int offset, int count ) : void
array char
offset int
count int
Résultat void
        internal void WriteRaw( char[] array, int offset, int count ) {
            if ( null == array ) {
                throw new ArgumentNullException("array");
            }

            if ( 0 > count ) {
                throw new ArgumentOutOfRangeException("count");
            }

            if ( 0 > offset ) {
                throw new ArgumentOutOfRangeException("offset");
            }

            if ( count > array.Length - offset ) {
                throw new ArgumentOutOfRangeException("count");
            }

            if ( cacheAttrValue ) {
                attrValue.Append( array, offset, count );
            }
            textWriter.Write( array, offset, count );
        }

Same methods

XmlTextEncoder::WriteRaw ( string value ) : void

Usage Example

Exemple #1
0
 internal override void WriteChars(char[] chars, int index, int count)
 {
     _xmlTextEncoder.WriteRaw(chars, index, count);
 }