ScriptResourceMapping.GetDefinition 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 ScriptResourceDefinition 物件傳回指定的 ScriptResourceMapping 物件。
多載
GetDefinition(String)
根據 name
參數,從 ScriptResourceDefinition 物件傳回指定的 ScriptResourceMapping。
public:
System::Web::UI::ScriptResourceDefinition ^ GetDefinition(System::String ^ name);
public System.Web.UI.ScriptResourceDefinition GetDefinition (string name);
member this.GetDefinition : string -> System.Web.UI.ScriptResourceDefinition
Public Function GetDefinition (name As String) As ScriptResourceDefinition
參數
- name
- String
指令碼資源的名稱。
傳回
適用於
GetDefinition(ScriptReference)
從 ScriptResourceDefinition 物件傳回 ScriptResourceMapping 物件。
public:
System::Web::UI::ScriptResourceDefinition ^ GetDefinition(System::Web::UI::ScriptReference ^ scriptReference);
public System.Web.UI.ScriptResourceDefinition GetDefinition (System.Web.UI.ScriptReference scriptReference);
member this.GetDefinition : System.Web.UI.ScriptReference -> System.Web.UI.ScriptResourceDefinition
Public Function GetDefinition (scriptReference As ScriptReference) As ScriptResourceDefinition
參數
- scriptReference
- ScriptReference
ScriptReference 物件。
傳回
適用於
GetDefinition(String, Assembly)
從 ScriptResourceDefinition 物件傳回指定的 ScriptResourceMapping 物件。
public:
System::Web::UI::ScriptResourceDefinition ^ GetDefinition(System::String ^ name, System::Reflection::Assembly ^ assembly);
public System.Web.UI.ScriptResourceDefinition GetDefinition (string name, System.Reflection.Assembly assembly);
member this.GetDefinition : string * System.Reflection.Assembly -> System.Web.UI.ScriptResourceDefinition
Public Function GetDefinition (name As String, assembly As Assembly) As ScriptResourceDefinition
參數
- name
- String
指令碼資源的名稱。