IResourceUrlGenerator.GetResourceUrl Method (Type, String)
.NET Framework (current version)
Returns a URL reference to an embedded resource in an assembly that is used at design time.
Assembly: System.Web (in System.Web.dll)
Parameters
- type
-
Type:
System.Type
The type in the assembly that contains the embedded resource.
- resourceName
-
Type:
System.String
The name of the resource to retrieve.
At run time, the GetWebResourceUrl method returns a URL to a resource. The AssemblyResourceLoader class defines the HTTP handler that is used to load embedded resources.
At design time, the GetWebResourceUrl method of the ClientScriptManager class detects design mode and delegates to the designer-host service implementation, which returns a URL.
.NET Framework
Available since 2.0
Available since 2.0
Show: