NetIde.Project.NiHierarchy.ProcessParentChange C# (CSharp) Метод

ProcessParentChange() приватный Метод

private ProcessParentChange ( NiHierarchy parent ) : HResult
parent NiHierarchy
Результат HResult
        private HResult ProcessParentChange(NiHierarchy parent)
        {
            if (_parent != null)
                _parent.RemoveChild(this);

            _parent = parent;

            if (_parent != null)
                _parent.AddChild(this);

            return HResult.OK;
        }