Muokkaa

Jaa


ScriptResourceMapping.AddDefinition Method

Definition

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

Overloads

AddDefinition(String, ScriptResourceDefinition)

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

AddDefinition(String, Assembly, ScriptResourceDefinition)

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

AddDefinition(String, ScriptResourceDefinition)

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

public:
 void AddDefinition(System::String ^ name, System::Web::UI::ScriptResourceDefinition ^ definition);
public void AddDefinition (string name, System.Web.UI.ScriptResourceDefinition definition);
member this.AddDefinition : string * System.Web.UI.ScriptResourceDefinition -> unit
Public Sub AddDefinition (name As String, definition As ScriptResourceDefinition)

Parameters

name
String

The name of the script resource.

definition
ScriptResourceDefinition

A ScriptResourceDefinition object that specifies location support for script resources.

Applies to

AddDefinition(String, Assembly, ScriptResourceDefinition)

Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

public:
 void AddDefinition(System::String ^ name, System::Reflection::Assembly ^ assembly, System::Web::UI::ScriptResourceDefinition ^ definition);
public void AddDefinition (string name, System.Reflection.Assembly assembly, System.Web.UI.ScriptResourceDefinition definition);
member this.AddDefinition : string * System.Reflection.Assembly * System.Web.UI.ScriptResourceDefinition -> unit
Public Sub AddDefinition (name As String, assembly As Assembly, definition As ScriptResourceDefinition)

Parameters

name
String

The name of the script resource.

assembly
Assembly

An Assembly object that contains the script resource.

definition
ScriptResourceDefinition

A ScriptResourceDefinition object that specifies location support for script resources.

Applies to