ScriptResourceMapping.RemoveDefinition 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 ScriptResourceDefinition 物件移除 ScriptResourceMapping 物件。
多載
RemoveDefinition(String) |
根據 |
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
要移除之指令碼資源的名稱。
傳回
適用於
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
要移除之指令碼資源的名稱。