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

Returns the unique identifier for the supplied node.

Script Syntax

Copy Code
		
lValue = oXTLRuntime.uniqueID(
pNode);

Remarks

Parameters

pNode

Object. Node for which the unique identifier is to be returned.

Return Value

Long integer. Returns the unique identifier for the specified node.

C/C++ Syntax

Copy Code
HRESULT uniqueID(
  IXMLDOMNode* 
pNode, 
  long* 
pID
);

Remarks

C/C++ Parameters

pNode

[in] Node for which the unique identifier is to be returned.

pID

[out, retval] Unique identifier for the specified node.

C/C++ Return Values

S_OK

Value returned if successful.

Requirements

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

General Remarks

This method applies to the following interface:

IXTLRuntime.