Condividi tramite


SPWeb.RemoveSupportedUICulture Method

Removes support for the specified culture (locale) from the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub RemoveSupportedUICulture ( _
    cultureInfo As CultureInfo _
)
'Usage
Dim instance As SPWeb
Dim cultureInfo As CultureInfo

instance.RemoveSupportedUICulture(cultureInfo)
public void RemoveSupportedUICulture(
    CultureInfo cultureInfo
)

Parameters

Remarks

This method removes the information about the culture from the list in the SupportedUICultures property.

Use this method to remove a language from the list of alternate languages supported by the website. Attempting to remove the default language has no effect.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace

AddSupportedUICulture(CultureInfo)

SupportedUICultures

Language

UICulture