System.Xml.HtmlEncodedRawTextWriter.WriteString C# (CSharp) 메소드

WriteString() 공개 메소드

public WriteString ( string text ) : void
text string
리턴 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 );
                }
            }
        }