GeekDork.WebSkeleton Reference

IProperties.DocTypeDeclarations Property

A StringList of document type declarations to be written out at the beginning of the HTTP response stream.

[Visual Basic]
Property DocTypeDeclarations As StringList
[C#]
StringList DocTypeDeclarations {get;}

Example

Add a standard document type declaration to the output.

            DocTypeDeclarations.Add("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">");
            

See Also

IProperties Interface | GeekDork.WebSkeleton Namespace