예제 #1
0
        public override void AddGeneralPropertyForCommunity(string name, string value, CommunityInfo community)
        {
            CommunityProperty property = new CommunityProperty(
                community.Identity,
                CommunityGeneralPropertiesGroup,
                name,
                value
                );

            try
            {
                // insert new property
                property.CommitChanges();
            }
            catch (Exception) { }
        }
예제 #2
0
 set => this.SetValue(CommunityProperty, value);