Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetWriter.WriteDocType(string,string,string,string) Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class : WriteDocType Method



name
The name of the DOCTYPE. This must be non-empty.
pubid
If non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid are replaced with the value of the given arguments.
sysid
If pubid is a null reference (Nothing in Visual Basic) and sysid is non-null it writes SYSTEM "sysid" where sysid is replaced with the value of this argument.
subset

If non-null it writes [subset] where subset is replaced with the value of this argument.

This method is not supported and always throws a NotSupportedException.


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public NotOverridable Sub WriteDocType( _
   ByVal name As String, _
   ByVal pubid As String, _
   ByVal sysid As String, _
   ByVal subset As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetWriter
Dim name As String
Dim pubid As String
Dim sysid As String
Dim subset As String
 
instance.WriteDocType(name, pubid, sysid, subset)
C# 
public override void WriteDocType( 
   string name,
   string pubid,
   string sysid,
   string subset
)
C++/CLI 
public:
void WriteDocType( 
   String^ name,
   String^ pubid,
   String^ sysid,
   String^ subset
) override 

Parameters

name
The name of the DOCTYPE. This must be non-empty.
pubid
If non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid are replaced with the value of the given arguments.
sysid
If pubid is a null reference (Nothing in Visual Basic) and sysid is non-null it writes SYSTEM "sysid" where sysid is replaced with the value of this argument.
subset

If non-null it writes [subset] where subset is replaced with the value of this argument.

Remarks

Writing DOCTYPE is presently not supported by XmlFastInfosetWriter.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Base Implementation in System.Xml.XmlWriter