e9ac4d96 5f59 77ba 0e10 f3560df9576b - autumn009/NestedHtmlWriter GitHub Wiki
NhDocument class constructor automatically create XML declalation and DOCTYPE declalation
Namespace: NestedHtmlWriter
Assembly: NestedHtmlWriterPortable (in NestedHtmlWriterPortable.dll) Version: 1.0.6152.32515 (1.0.0.0)
C#
public NhDocument(
TextWriter writer,
NhDocumentType documentType
)
VB
Public Sub New (
writer As TextWriter,
documentType As NhDocumentType
)
C++
public:
NhDocument(
TextWriter^ writer,
NhDocumentType documentType
)
F#
new :
writer : TextWriter *
documentType : NhDocumentType -> NhDocument
- writer
- Type: System.IO.TextWriter
writer for output - documentType
- Type: NestedHtmlWriter.NhDocumentType
type of document
in case of type of documents, follow text will output. In case of NhDocumentType.Xhtml11 In case of NhDocumentType.Xhtml10Strict In case of NhDocumentType.Xhtml10Transitional In case of NhDocumentType.Html5
NhDocument Class
NhDocument Overload
NestedHtmlWriter Namespace