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

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

Parameters

scriptReference
ScriptReference

A ScriptReference object.

Returns

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

Parameters

name
String

The name of the script resource.

assembly
Assembly

An Assembly object that contains the script resource.

Returns

Applies to