SPUtility.ContextLayoutsFolder property
Pasta de layouts versionado Getsthe para o site de contexto.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Shared ReadOnly Property ContextLayoutsFolder As String
Get
'Uso
Dim value As String
value = SPUtility.ContextLayoutsFolder
public static string ContextLayoutsFolder { get; }
Property value
Type: System.String
A cadeia de caracteres que representa a pasta layouts versionado.
Comentários
Para site.CompatibilityLevel maior ou igual a 15 (por exemplo, layouts/15"), ContextLayoutsFolder retorna"_layouts/site.CompatibilityLevel". Caso contrário, o método retornará layouts".