共用方式為


ScriptResourceMapping.RemoveDefinition 方法

定義

ScriptResourceDefinition 物件移除 ScriptResourceMapping 物件。

多載

RemoveDefinition(String)

根據 name參數,從 ScriptResourceDefinition 物件移除 ScriptResourceMapping

RemoveDefinition(String, Assembly)

ScriptResourceDefinition 物件移除 ScriptResourceMapping 物件。

RemoveDefinition(String)

根據 name參數,從 ScriptResourceDefinition 物件移除 ScriptResourceMapping

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

參數

name
String

要移除之指令碼資源的名稱。

傳回

ScriptResourceDefinition 物件。

適用於

RemoveDefinition(String, Assembly)

ScriptResourceDefinition 物件移除 ScriptResourceMapping 物件。

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

參數

name
String

要移除之指令碼資源的名稱。

assembly
Assembly

包含指令碼資源的 Assembly 物件。

傳回

ScriptResourceDefinition 物件。

適用於