Bundt Programmer's Guide · Bundt Programmer's Interface version 1.0.1.0

EnumeratedType.GetClosestLocalAncestorOf method

Returns

EnumeratedItem

The most immediate ancestor enumerated item for the given descendant, or null if no ancestor exists in this enumerated type.

Description

Gets the most immediate ancestor of a given descendant enumerated item in this enumerated type, if exists.

Parameters

Type Name Flags Description Default
EnumeratedItem eitDescendant The descendant enumerated item for which an ancestor is needed.

Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020