Exemplo n.º 1
0
 /// <summary>
 /// This function is used to retrieve a list of the child elements of a given parent element. Note that it will only return direct children and not elements that are further down the element tree.
 /// </summary>
 public Element[] GetChildren(string ofType = null)
 {
     MtaElement[] mtaElements = MtaShared.GetArrayFromTable(MtaShared.GetElementChildren(element, ofType), "MTAElement");
     return(ElementManager.Instance.CastArray <Element>(mtaElements));
 }