Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a type that allows queuing and rendering script elements.
Inheritance Hierarchy
System.Object
System.Web.Optimization.Scripts
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public NotInheritable Class Scripts
'Usage
public static class Scripts
public ref class Scripts abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Scripts = class end
public final class Scripts
The Scripts type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
DefaultTagFormat | Gets or sets the default format string for defining how script tags are rendered. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() ![]() |
Render | Renders script tags for the following paths. |
![]() ![]() |
RenderFormat | Renders script tags for a set of paths based on a format string. |
![]() ![]() |
Url | Returns a fingerprinted URL if the virtualPath is to a bundle, otherwise returns the resolve URL. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg)
.gif)
.jpeg)