Export (0) Print
Expand All

ScriptResourceMapping::AddDefinition Method (String, Assembly, ScriptResourceDefinition)

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, 
	Assembly^ assembly, 
	ScriptResourceDefinition^ definition
)

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