LayoutFarm.RenderElement.SetParentLink C# (CSharp) Метод

SetParentLink() публичный статический Метод

public static SetParentLink ( RenderElement childElement, IParentLink parentLink ) : void
childElement RenderElement
parentLink IParentLink
Результат void
        public static void SetParentLink(RenderElement childElement, IParentLink parentLink)
        {
            childElement.parentLink = parentLink;
#if DEBUG
            if (childElement.ParentRenderElement == childElement)
            {
                //error!
                throw new NotSupportedException();
            }
#endif
        }
        public bool MayHasChild