public SPOTermSetItem(TermSetItem termSetItem)
            : base(termSetItem)
        {
            _termSetItem = termSetItem;

            if (_termSetItem.IsPropertyAvailable("CustomSortOrder"))
                SetProp("CustomSortOrder", _termSetItem.CustomSortOrder, false);
            if (_termSetItem.IsPropertyAvailable("IsAvailableForTagging"))
                SetProp("IsAvailableForTagging", _termSetItem.IsAvailableForTagging, false);
            if (_termSetItem.IsPropertyAvailable("Owner"))
                SetProp("Owner", _termSetItem.Owner, false);
        }
Exemplo n.º 2
0
        public SPOTermSetItem(TermSetItem termSetItem) : base(termSetItem)
        {
            _termSetItem = termSetItem;

            if (_termSetItem.IsPropertyAvailable("CustomSortOrder"))
            {
                SetProp("CustomSortOrder", _termSetItem.CustomSortOrder, false);
            }
            if (_termSetItem.IsPropertyAvailable("IsAvailableForTagging"))
            {
                SetProp("IsAvailableForTagging", _termSetItem.IsAvailableForTagging, false);
            }
            if (_termSetItem.IsPropertyAvailable("Owner"))
            {
                SetProp("Owner", _termSetItem.Owner, false);
            }
        }
Exemplo n.º 3
0
        public override void Refresh()
        {
            base.Refresh();

            if (_termSetItem.IsPropertyAvailable("CustomSortOrder"))
            {
                SetProp("CustomSortOrder", _termSetItem.CustomSortOrder, false);
            }
            if (_termSetItem.IsPropertyAvailable("IsAvailableForTagging"))
            {
                SetProp("IsAvailableForTagging", _termSetItem.IsAvailableForTagging, false);
            }
            if (_termSetItem.IsPropertyAvailable("Owner"))
            {
                SetProp("Owner", _termSetItem.Owner, false);
            }

            _terms = null;
        }