XDocumentType.PublicId Property

Definition

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, set
Public Property PublicId As String

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

Applies to

See also