Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - DOM Reference

publicId Property (IXMLDOMNotation)

Contains the public identifier for the notation.

[Script]

Script Syntax

strValue = oXMLDOMNotation.publicId;
[Visual Basic]

Visual Basic Syntax

strValue = oXMLDOMNotation.publicId
[C/C++]

C/C++ Syntax

HRESULT get_publicId(
    VARIANT *publicID);

Parameters

publicID [out, retval]
The public identifier for the notation. If the public identifier is not specified, this contains an empty string.

C/C++ Return Values

S_OK
The value returned if successful.
E_INVALIDARG
The value returned if the publicID parameter is Null.

Remarks

Variant. The property is read-only. If the public identifier is not specified, the property contains the empty string.

To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

Applies to: IXMLDOMNotation