DelegatingXmlDictionaryWriter.WriteDocType Method (String, String, String, String)

.NET Framework (current version)
 
Use BaseTrue

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

Namespace:   System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override void WriteDocType(
	string name,
	string pubid,
	string sysid,
	string subset
)

Parameters

name
Type: System.String

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

pubid
Type: System.String

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

sysid
Type: System.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
Type: System.String

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

.NET Framework
Available since 4.5
Return to top
Show: