Scripts Class

Represents a type that allows queuing and rendering script elements.

System.Object
  System.Web.Optimization.Scripts

Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)

'Declaration
Public NotInheritable Class Scripts
'Usage

The Scripts type exposes the following members.

  NameDescription
Public propertyStatic memberDefaultTagFormatGets or sets the default format string for defining how script tags are rendered.
Top

  NameDescription
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.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: