Share via


publicId Property (IXMLDOMEntity) (Compact 2013)

3/26/2014

Contains the public identifier associated with the entity.

Syntax

[scr]

strValue = oXMLDOMEntity.publicId;
[cpp]
HRESULT get_publicId(
  BSTR* publicID
);

Parameters

Script

None.

C/C++

  • publicID
    [out, retval] Public identifier associated with the entity, if specified. If the public identifier is not specified, contains the empty string.

Return Value

Script

String. If the public identifier is not specified, the property contains the empty string.

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned if no public ID is specified.
  • E_INVALIDARG
    Value returned if publicID is Null.

Remarks

This property is read-only, and applies to the following interface:

IXMLDOMEntity

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties