共用方式為


ThmxTheme.GetThemedCssReference method

建構的階層式樣式表 (CSS) 連結。

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

Syntax

'宣告
Public Shared Function GetThemedCssReference ( _
    canonicalCssReference As String, _
    enableTheming As Nullable(Of Boolean) _
) As String
'用途
Dim canonicalCssReference As String
Dim enableTheming As Nullable(Of Boolean)
Dim returnValue As String

returnValue = ThmxTheme.GetThemedCssReference(canonicalCssReference, _
    enableTheming)
public static string GetThemedCssReference(
    string canonicalCssReference,
    Nullable<bool> enableTheming
)

參數

  • canonicalCssReference
    Type: System.String

    安裝路徑中的檔案參考。

  • enableTheming
    Type: System.Nullable<Boolean>

    若要啟用佈景主題的佈景主題檔案版本 ; true否則false。

傳回值

Type: System.String
產生的 CSS 連結。

請參閱

參照

ThmxTheme class

ThmxTheme members

Microsoft.SharePoint.Utilities namespace