JSHelperAddLinkRef Method (Page, String, String, String, Boolean) |
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void AddLinkRef(
Page page,
string href,
string rel,
string type,
bool limitCache
)
Public Shared Sub AddLinkRef (
page As Page,
href As String,
rel As String,
type As String,
limitCache As Boolean
)
Parameters
- page
- Type: System.Web.UIPage
The page to which to add the reference. - href
- Type: SystemString
The stylesheet file path. - rel
- Type: SystemString
The 'rel' attribute of the link (typically 'stylesheet') - type
- Type: SystemString
The 'type' attribute of the link (typically 'text/css') - limitCache
- Type: SystemBoolean
Add a ver parameter with the platform version to the reference to prevent unwanted browser caching.
See Also