System.Xml.HtmlUtf8RawTextWriter.WriteProcessingInstruction C# (CSharp) Méthode

WriteProcessingInstruction() public méthode

public WriteProcessingInstruction ( string target, string text ) : void
target string
text string
Résultat void
        public override void WriteProcessingInstruction( string target, string text ) {
            Debug.Assert( target != null && target.Length != 0 && text != null );

            

            bufBytes[base.bufPos++] = (byte) '<';
            bufBytes[base.bufPos++] = (byte) '?';
            base.RawText( target );
            bufBytes[base.bufPos++] = (byte) ' ';

            base.WriteCommentOrPi( text, '?' );

            base.bufBytes[base.bufPos++] = (byte) '>';

            if ( base.bufPos > base.bufLen ) {
                FlushBuffer();
            }
        }