ScriptResourceMapping.GetDefinition Method
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.
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. |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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 Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: