XDocumentType.PublicId Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the public identifier for this Document Type Definition (DTD).
public:
 property System::String ^ PublicId { System::String ^ get(); void set(System::String ^ value); };public string PublicId { get; set; }public string? PublicId { get; set; }member this.PublicId : string with get, setPublic Property PublicId As StringProperty Value
A String that contains the public identifier for this Document Type Definition (DTD).
Remarks
If an XML document uses an external public DTD, this property will contain the public identifier of the external DTD.