Share via


SPWeb.RemoveSupportedUICulture method

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

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

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