共用方式為


ScriptResourceMapping.GetDefinition 方法

定義

ScriptResourceDefinition 物件傳回指定的 ScriptResourceMapping 物件。

多載

GetDefinition(String)

根據 name參數,從 ScriptResourceDefinition 物件傳回指定的 ScriptResourceMapping

GetDefinition(ScriptReference)

ScriptResourceDefinition 物件傳回 ScriptResourceMapping 物件。

GetDefinition(String, Assembly)

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

指令碼資源的名稱。

傳回

ScriptResourceDefinition 物件。

適用於

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 物件。

傳回

ScriptResourceDefinition 物件。

適用於

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

指令碼資源的名稱。

assembly
Assembly

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

傳回

ScriptResourceDefinition 物件。

適用於