ערוך

שתף באמצעות


ScriptResourceMapping.GetDefinition Method

Definition

Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object.

Overloads

GetDefinition(String)

Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object based on the name parameter.

GetDefinition(ScriptReference)

Returns a ScriptResourceDefinition object from the ScriptResourceMapping object.

GetDefinition(String, Assembly)

Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object.

GetDefinition(String)

Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object based on the name parameter.

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

Parameters

name
String

The name of the script resource.

Returns

A ScriptResourceDefinition object.

Applies to

GetDefinition(ScriptReference)

Returns a ScriptResourceDefinition object from the ScriptResourceMapping object.

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

Parameters

scriptReference
ScriptReference

A ScriptReference object.

Returns

A ScriptResourceDefinition object.

Applies to

GetDefinition(String, Assembly)

Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object.

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

Parameters

name
String

The name of the script resource.

assembly
Assembly

An Assembly object that contains the script resource.

Returns

A ScriptResourceDefinition object.

Applies to