ScriptResourceMapping.AddDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- definition
- ScriptResourceDefinition
A ScriptResourceDefinition object that specifies location support for script resources.