Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

Scripts Class

Represents a type that allows queuing and rendering script elements.


Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)
public static class Scripts

The Scripts type exposes the following members.

Public propertyStatic memberDefaultTagFormatGets or sets the default format string for defining how script tags are rendered.
Public methodStatic memberRenderRenders script tags for the following paths.
Public methodStatic memberRenderFormatRenders script tags for a set of paths based on a format string.
Public methodStatic memberUrlReturns a fingerprinted URL if the virtualPath is to a bundle, otherwise returns the resolve URL.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.