XmlDocumentType.PublicId Property

 

Gets the value of the public identifier on the DOCTYPE declaration.

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

public string PublicId { get; }

Property Value

Type: System.String

The public identifier on the DOCTYPE. If there is no public identifier, null is returned.

.NET Framework
Available since 1.1
Return to top
Show: