MIXmlNodeGetParent() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
ft:locale
en-US
Product name
MapBasic
ft:title
MapInfo MapBasic Reference
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:32:32.686000

Purpose

Retrieves the parent of the given node instance.

Syntax

MIXmlNodeGetParent( ByVal hXMLNode As MIXmlNode ) As MIXmlNode

hXMLNode is the MIXmlNode object handle.

Return Value

A handle to the MIXmlNode object which is the parent of the given node instance, hXMLNode, if successful; otherwise NULL.

Description

MIXmlNodegetParent() gets a handle to a MIXmlNode object that is the parent of the given node instance. It returns NULL if no parent exists.

The caller has to dispose of the handle by calling the MIXmlNodeDestroy() procedure when the handle is no longer in use.