Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScriptResourceMapping.AddDefinition Method (String, Assembly, ScriptResourceDefinition)

.NET Framework 4.6 and 4.5

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

member AddDefinition : 
        name:string * 
        assembly:Assembly * 
        definition:ScriptResourceDefinition -> unit

Parameters

name
Type: System.String

The name of the script resource.

assembly
Type: System.Reflection.Assembly

An Assembly object that contains the script resource.

definition
Type: System.Web.UI.ScriptResourceDefinition

A ScriptResourceDefinition object that specifies location support for script resources.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft