Partilhar via


ScriptResourceMapping.AddDefinition Método

Definição

Adiciona um objeto ScriptResourceDefinition ao objeto ScriptResourceMapping.

Sobrecargas

AddDefinition(String, ScriptResourceDefinition)

Adiciona um objeto ScriptResourceDefinition ao objeto ScriptResourceMapping.

AddDefinition(String, Assembly, ScriptResourceDefinition)

Adiciona um objeto ScriptResourceDefinition ao objeto ScriptResourceMapping.

AddDefinition(String, ScriptResourceDefinition)

Adiciona um objeto ScriptResourceDefinition ao 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

O nome do recurso de script.

definition
ScriptResourceDefinition

Um objeto ScriptResourceDefinition que especifica o suporte de local para recursos de script.

Aplica-se a

AddDefinition(String, Assembly, ScriptResourceDefinition)

Adiciona um objeto ScriptResourceDefinition ao 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

O nome do recurso de script.

assembly
Assembly

Um objeto Assembly que contém o recurso de script.

definition
ScriptResourceDefinition

Um objeto ScriptResourceDefinition que especifica o suporte de local para recursos de script.

Aplica-se a