Export (0) Print
Expand All
Expand Minimize

SPUtility.GetIncorrectUIVersionMessage method

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.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static string GetIncorrectUIVersionMessage(
	bool needNewUIVersion
)

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.

Return value

Type: System.String
The message string.
Show:
© 2014 Microsoft