SPWeb.UIVersion Property
SharePoint 2010
Gets or sets the current version number of the user interface.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Set Calls internal void SetUIVersion(int value, bool setMasterPage)
Be advised, a call to set UIVersion is essentially the same as calling the internal function this.SetUIVersion(value, true), where value is whatever you passed in (3 or 4). The side effect is your master page will be changed.
Also, if setting this property, you may want to set the SPWeb.UIVersionConfigurationEnabled property.
Also, if setting this property, you may want to set the SPWeb.UIVersionConfigurationEnabled property.
- 8/29/2011
- kduenke