Microsoft.VisualStudio.Project.ProjectNode.SetProperty C# (CSharp) Method

SetProperty() public method

Sets the properties for the project node.
public SetProperty ( int propid, object value ) : int
propid int Identifier of the hierarchy property. For a list of propid values,
value object The value to set.
return int
        public override int SetProperty(int propid, object value)
        {
            __VSHPROPID id = (__VSHPROPID)propid;

            switch (id)
            {
                case __VSHPROPID.VSHPROPID_ShowProjInSolutionPage:
                    this.ShowProjectInSolutionPage = (bool)value;
                    return VSConstants.S_OK;
            }

            return base.SetProperty(propid, value);
        }
ProjectNode