共用方式為


SPWeb.IsMultilingual Property

Gets or sets a value that indicates whether a multilingual user interface is enabled for the website.

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

Syntax

'Declaration
Public Property IsMultilingual As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.IsMultilingual

instance.IsMultilingual = value
public bool IsMultilingual { get; set; }

Property Value

Type: System.Boolean
true to enable; otherwise, false.

Exceptions

Exception Condition
SPException

You set the property to true on a website that has customized CSS files. Alternate languages are not supported on sites with customized CSS.

SPException

You set the property to true on a website based on a template that does not support a multilingual user interface.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace

SupportedUICultures

SupportsMultilingualUI

CustomizeCss(String)