Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IResourceUrlGenerator Interface
Collapse the table of content
Expand the table of content

IResourceUrlGenerator Interface

Defines the method that a designer-host must implement to provide URL reference look-up for embedded resources.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public interface class IResourceUrlGenerator

The IResourceUrlGenerator type exposes the following members.

  NameDescription
Public methodGetResourceUrlReturns a URL reference to an embedded resource in an assembly that is used at design time.
Top

ASP.NET version 2.0 provides the ability to retrieve embedded resources from an assembly for controls, such as the Page control. At run time, the URL to the embedded resource can be retrieved using the GetWebResourceUrl method of the ClientScriptManager class. To provide a design-time means for generating a resource URL from an assembly, designer hosts can offer a service that implements the IResourceUrlGenerator interface. For more information:

The IResourceUrlGenerator interface has one method, the GetResourceUrl method, that returns a URL reference to a resource given the resource type and name.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft