SPWeb.Theme 属性
请注意:此 API 现在已过时。
Gets the name of the theme that is applied to the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("This property applies to SharePoint 2007 theming and is no longer functional", _
False)> _
Public ReadOnly Property Theme As String
Get
用法
Dim instance As SPWeb
Dim value As String
value = instance.Theme
[ObsoleteAttribute("This property applies to SharePoint 2007 theming and is no longer functional",
false)]
public string Theme { get; }
属性值
类型:System.String
A string that contains the name of the theme.
备注
警告
This API is deprecated; use it only when the UI is in backward compatibility mode (SPWeb.UIVersion = 3).
Use the ApplyTheme method to set the theme for a site.