Returns a new URL that will not be cached by the browser when the associated file changes. The file name must be relative to the layouts directory in the file system. For example, if an URL contains "layouts/images" it is relative to the layouts directory but the images directory is not under the layouts directory in the file system and therefore it cannot be used with this method.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] public static string MakeBrowserCacheSafeLayoutsUrl( string name, bool localizable )
- Type: System.String
The name of the file relative to the layouts directory.
- Type: System.Boolean
A Boolean value that determines whether or not to include the layouts directory. If true, the language directory is included.
Return ValueType: System.String
The full URL to the file relative to the domain (site).