Writes the DOCTYPE declaration with the specified name and optional attributes.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DelegatingXmlDictionaryWriter
Dim name As String
Dim pubid As String
Dim sysid As String
Dim subset As String

instance.WriteDocType(name, pubid, sysid, subset)

Syntax

Visual Basic
Public Overrides Sub WriteDocType ( _
		name As String, _
		pubid As String, _
		sysid As String, _
		subset As String _
)
C#
public override void WriteDocType (
		string name,
		string pubid,
		string sysid,
		string subset
)
C++
public:
virtual void WriteDocType (
		String^ name, 
		String^ pubid, 
		String^ sysid, 
		String^ subset
) override
J#
public void WriteDocType (
		String name, 
		String pubid, 
		String sysid, 
		String subset
)
JScript
public override function WriteDocType (
		name : String, 
		pubid : String, 
		sysid : String, 
		subset : String
)

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 null 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also