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(string name);

Parameters

name
String

The name of the script resource to remove.

Returns

A ScriptResourceDefinition object.

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

RemoveDefinition(String, Assembly)

Removes a ScriptResourceDefinition object from the ScriptResourceMapping object.

public System.Web.UI.ScriptResourceDefinition RemoveDefinition(string name, System.Reflection.Assembly assembly);

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1