ThmxTheme.GetThemedCssUrl method
傳回的 URL 可以擷取佈景主題階層式樣式表 (CSS) 的位置。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetThemedCssUrl ( _
cssUrl As String, _
themedCssFolderUrl As String _
) As String
'用途
Dim cssUrl As String
Dim themedCssFolderUrl As String
Dim returnValue As String
returnValue = ThmxTheme.GetThemedCssUrl(cssUrl, _
themedCssFolderUrl)
public static string GetThemedCssUrl(
string cssUrl,
string themedCssFolderUrl
)
參數
cssUrl
Type: System.StringCSS 檔案的未編碼的伺服器相對 URL。
themedCssFolderUrl
Type: System.String.Thmx 檔案伺服器相對 URL。
傳回值
Type: System.String
佈景主題的 CSS 伺服器相對 URL。
備註
這個方法會取得所產生的佈景主題套用至樣式表 CSS 的 URL。