SPWeb.IsMultilingual 属性

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

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property IsMultilingual As Boolean
    Get
    Set
用法
Dim instance As SPWeb
Dim value As Boolean

value = instance.IsMultilingual

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

属性值

类型:System.Boolean
true to enable; otherwise, false.

异常

异常 条件
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.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间

SupportedUICultures

SupportsMultilingualUI

CustomizeCss(String)