Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
virtual void WriteDocType(
	String^ name,
	String^ pubid,
	String^ sysid,
	String^ subset
) override

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:
© 2017 Microsoft