ScriptResourceMapping.GetDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object.
Overloads
GetDefinition(String) |
Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object based on the |
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.
Returns
A ScriptResourceDefinition object.
Applies to
.NET