Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Contains the public identifier associated with the entity.

Script Syntax

Copy Code
		
strValue = oXMLDOMEntity.publicId;

Remarks

Script Parameters

None.

Script Return Value

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

C/C++ Syntax

Copy Code
HRESULT get_publicId(
  BSTR* 
publicID
);

Remarks

C/C++ Parameters

publicID

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

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value returned if no public ID is specified.

E_INVALIDARG

Value returned if publicIDis Null.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

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

IXMLDOMEntity