XmlDocumentType.PublicId 属性

定义

获取 DOCTYPE 声明上公共标识符的值。Gets the value of the public identifier on the DOCTYPE declaration.

public:
 property System::String ^ PublicId { System::String ^ get(); };
public string? PublicId { get; }
public string PublicId { get; }
member this.PublicId : string
Public ReadOnly Property PublicId As String

属性值

String

DOCTYPE 上的公共标识符。The public identifier on the DOCTYPE. 如果没有公共标识符,则返回 nullIf there is no public identifier, null is returned.

适用于