RemoveChild() private method

private RemoveChild ( NiHierarchy item ) : void
item NiHierarchy
return void
Ejemplo n.º 1
0
        private HResult ProcessParentChange(NiHierarchy parent)
        {
            if (_parent != null)
            {
                _parent.RemoveChild(this);
            }

            _parent = parent;

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

            return(HResult.OK);
        }