Επεξεργασία

Κοινή χρήση μέσω


DelegatingXmlDictionaryWriter.WriteDocType Method

Definition

Writes the DOCTYPE declaration with the specified name and optional attributes.

public:
 override void WriteDocType(System::String ^ name, System::String ^ pubid, System::String ^ sysid, System::String ^ subset);
public override void WriteDocType (string name, string pubid, string sysid, string subset);
override this.WriteDocType : string * string * string * string -> unit
Public Overrides Sub WriteDocType (name As String, pubid As String, sysid As String, subset As String)

Parameters

name
String

The name of the DOCTYPE. This must be non-empty.

pubid
String

If non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid are replaced with the value of the given arguments.

sysid
String

If pubid is null and sysid is non-null it writes SYSTEM "sysid" where sysid is replaced with the value of this argument.

subset
String

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

Applies to