Returns the node number corresponding to the given XMLDOMNode interface.

Syntax:

GetNodeNumber(XMLDOMNode As IXMLDOMNode) As Long
Return: Long
Example:
Dim TU As TransUnit
Dim DomNode As IXMLDOMNode
Dim ProjFile As ProjectFile
Dim NodeNumber As Long

Set TU = Application.ActiveTransUnit
Set ProjFile = Application.ActiveProjectFile

If Not(TU Is Nothing) Then
	Set DomNode = TU.XMLDOMNode
	NodeNumber = ProjFile.GetNodeNumber(DomNode)
End If

See also:

Class ProjectFile


Last Updated: 06/30/04