System.Xml.HtmlEncodedRawTextWriter.WriteString C# (CSharp) Méthode

WriteString() public méthode

public WriteString ( string text ) : void
text string
Résultat void
        public override unsafe void WriteString( string text ) {
            Debug.Assert( text != null );

            if ( trackTextContent && inTextContent != true ) { ChangeTextContentMark( true ); }

            fixed ( char * pSrc = text ) {
                char * pSrcEnd = pSrc + text.Length;
                if ( base.inAttributeValue) {
                    WriteHtmlAttributeTextBlock( pSrc, pSrcEnd );
                }
                else {
                    WriteHtmlElementTextBlock( pSrc, pSrcEnd );
                }
            }
        }