Writes the DOCTYPE declaration with the specified name and optional attributes.
Пространство имен: Microsoft.IdentityModel.Protocols.XmlSignature
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
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) |
Синтаксис
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 ) |
Параметры
- 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.
Безопасность потоков
Любые открытые статические члены
(Shared в Visual Basic) этого типа являются
поточно-ориентированными.Любые члены экземпляров не являются
гарантированно поточно-ориентированными.