FastInfoset.NET Class Reference for .NET
WriteDocType Method (XmlFastInfosetWriter)






The name of the DOCTYPE. This must be non-empty.
If non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid are replaced with the value of the given arguments.
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.

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.
Syntax
'Declaration
 
Public Overrides NotOverridable Sub WriteDocType( _
   ByVal name As System.String, _
   ByVal pubid As System.String, _
   ByVal sysid As System.String, _
   ByVal subset As System.String _
) 
'Usage
 
Dim instance As XmlFastInfosetWriter
Dim name As System.String
Dim pubid As System.String
Dim sysid As System.String
Dim subset As System.String
 
instance.WriteDocType(name, pubid, sysid, subset)
public override void WriteDocType( 
   System.string name,
   System.string pubid,
   System.string sysid,
   System.string subset
)
public procedure WriteDocType( 
    name: System.String;
    pubid: System.String;
    sysid: System.String;
    subset: System.String
); override; 
public override function WriteDocType( 
   name : System.String,
   pubid : System.String,
   sysid : System.String,
   subset : System.String
);
public: void WriteDocType( 
   System.string* name,
   System.string* pubid,
   System.string* sysid,
   System.string* subset
) override 
public:
void WriteDocType( 
   System.String^ name,
   System.String^ pubid,
   System.String^ sysid,
   System.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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Base Implementation in WriteDocType

Send Feedback