ScriptResourceMapping.RemoveDefinition 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.
Removes a ScriptResourceDefinition object from the ScriptResourceMapping object.
Overloads
RemoveDefinition(String) |
Removes a ScriptResourceDefinition object from the ScriptResourceMapping object based on the |
RemoveDefinition(String, Assembly) |
Removes a ScriptResourceDefinition object from the ScriptResourceMapping object. |
RemoveDefinition(String)
Removes a ScriptResourceDefinition object from the ScriptResourceMapping object based on the name
parameter.
public:
System::Web::UI::ScriptResourceDefinition ^ RemoveDefinition(System::String ^ name);
public System.Web.UI.ScriptResourceDefinition RemoveDefinition (string name);
member this.RemoveDefinition : string -> System.Web.UI.ScriptResourceDefinition
Public Function RemoveDefinition (name As String) As ScriptResourceDefinition
Parameters
- name
- String
The name of the script resource to remove.
Returns
A ScriptResourceDefinition object.
Applies to
RemoveDefinition(String, Assembly)
Removes a ScriptResourceDefinition object from the ScriptResourceMapping object.
public:
System::Web::UI::ScriptResourceDefinition ^ RemoveDefinition(System::String ^ name, System::Reflection::Assembly ^ assembly);
public System.Web.UI.ScriptResourceDefinition RemoveDefinition (string name, System.Reflection.Assembly assembly);
member this.RemoveDefinition : string * System.Reflection.Assembly -> System.Web.UI.ScriptResourceDefinition
Public Function RemoveDefinition (name As String, assembly As Assembly) As ScriptResourceDefinition
Parameters
- name
- String
The name of the script resource to remove.
Returns
A ScriptResourceDefinition object.