SPUtility.ContextImagesRoot property
會傳回 contextSite 建立版本的影像資料夾。如果沒有任何內容網站,會傳回目前的主要版本 [圖像] 資料夾。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared ReadOnly Property ContextImagesRoot As String
Get
'用途
Dim value As String
value = SPUtility.ContextImagesRoot
public static string ContextImagesRoot { get; }
Property value
Type: System.String