Compartir a través de


ScriptResourceMapping.AddDefinition Método

Definición

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.

Sobrecargas

AddDefinition(String, ScriptResourceDefinition)

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.

AddDefinition(String, Assembly, ScriptResourceDefinition)

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.

AddDefinition(String, ScriptResourceDefinition)

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.

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)

Parámetros

name
String

Nombre del recurso de script.

definition
ScriptResourceDefinition

Objeto ScriptResourceDefinition que especifica la compatibilidad de las ubicaciones con los recursos de script.

Se aplica a

AddDefinition(String, Assembly, ScriptResourceDefinition)

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.

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)

Parámetros

name
String

Nombre del recurso de script.

assembly
Assembly

Objeto Assembly que contiene el recurso de script.

definition
ScriptResourceDefinition

Objeto ScriptResourceDefinition que especifica la compatibilidad de las ubicaciones con los recursos de script.

Se aplica a