SenseNet.ContentRepository.Survey.SetProperty C# (CSharp) Method

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void
        public override void SetProperty(string name, object value)
        {
            switch (name)
            {
                case "LandingPage":
                    this.LandingPage = value as Node;
                    break;
                case "PageContentView":
                    this.PageContentView = value as Node;
                    break;
                case "InvalidSurveyPage":
                    this.InvalidSurveyPage = value as Node;
                    break;
                case "MailTemplatePage":
                    this.MailTemplatePage = value as Node;
                    break;
                case "EnableMoreFilling":
                    this.EnableMoreFilling = Convert.ToBoolean(value);
                    break;
                default: base.SetProperty(name, value);
                    break;
            }
        }