共用方式為


ThmxTheme.ApplyTo method (String)

目前的佈景主題套用至指定的階層式樣式表 (CSS) 檔案。

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

Syntax

'宣告
Public Sub ApplyTo ( _
    cssUrl As String _
)
'用途
Dim instance As ThmxTheme
Dim cssUrl As String

instance.ApplyTo(cssUrl)
public void ApplyTo(
    string cssUrl
)

參數

Exceptions

Exception Condition
InvalidOperationException

佈景主題檔案不正確。

備註

如果它們不會共用,會刪除舊的佈景主題檔案。

請參閱

參照

ThmxTheme class

ThmxTheme members

ApplyTo overload

Microsoft.SharePoint.Utilities namespace