ScriptResourceMapping.AddDefinition Method (String, Assembly, ScriptResourceDefinition)

.NET Framework (current version)
 

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

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

Public Sub AddDefinition (
	name As String,
	assembly As Assembly,
	definition As ScriptResourceDefinition
)

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
Available since 4.0
Return to top
Show: