Share via


SysTreeNode::getFirstModelIdFromSubElements Method [AX 2012]

Finds the first child element in the specified layer and retrieves the model ID for the model to which that element belongs.

Syntax

server public static ModelId getFirstModelIdFromSubElements(
    IdentifierName _name, 
    UtilElementType _type, 
   [UtilEntryLevel _layer])

Run On

Server

Parameters

Return Value

Type: ModelId Extended Data Type
A model ID for the child element; otherwise, the #ModelId_Undefined value.

See Also

Reference

SysTreeNode Class