ScriptResourceMapping.AddDefinition Method (String, ScriptResourceDefinition)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

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

public void AddDefinition(
	string name,
	ScriptResourceDefinition definition
)

Parameters

name
Type: System.String

The name of 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: