ScriptResourceMapping.RemoveDefinition Method

Definition

Removes a ScriptResourceDefinition object from the ScriptResourceMapping object.

Overloads

RemoveDefinition(String)

Removes a ScriptResourceDefinition object from the ScriptResourceMapping object based on the name parameter.

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.

assembly
Assembly

An Assembly object that contains the script resource.

Returns

A ScriptResourceDefinition object.

Applies to