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