MIXmlNodeGetParent() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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.