共用方式為


publicId property

Gets the public identifier of a IHTMLDocument5::doctype.

 

Syntax

HRESULT value = object.get_publicId(BSTR* p);

Property values

Type: BSTR

The public identifier

Standards information

Remarks

The value of the IDOMDocumentType::publicId property corresponds to the Availability, Registration, Organization, Type, and Language attributes of a !DOCTYPE directive.

See also

Reference

IDOMDocumentType::name

IDOMDocumentType::systemId