SPUtility.ContextImagesRoot property

Returns the versioned images folder for the contextSite. If there is no context site, returns images folder for current major version.

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

Syntax

'Declaration
Public Shared ReadOnly Property ContextImagesRoot As String
    Get
'Usage
Dim value As String

value = SPUtility.ContextImagesRoot
public static string ContextImagesRoot { get; }

Property value

Type: System.String

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace