SPUtility.GetIncorrectUIVersionMessage method
SharePoint 2013
Retrieves a localized string that contains the generic error message to display when a Web Part is added to a site with an incompatible user interface (UI) version.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- needNewUIVersion
- Type: System.Boolean
true to display the message that tells the user to enable the new UI; false to display the message that tells the user that they need to use the old UI or use a different Web Part that is compatible with the new UI.