System.Web.UI.IResourceUrlGenerator

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

See Also: IResourceUrlGenerator Members

Syntax

public interface IResourceUrlGenerator

Remarks

ASP.NET version 2.0 provides the ability to retrieve embedded resources from an assembly for controls, such as the System.Web.UI.Page control. At run time, the URL to the embedded resource can be retrieved using the ClientScriptManager.GetWebResourceUrl(Type, string) method of the System.Web.UI.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 System.Web.UI.IResourceUrlGenerator interface. For more information:

The System.Web.UI.IResourceUrlGenerator interface has one method, the IResourceUrlGenerator.GetResourceUrl(Type, string) method, that returns a URL reference to a resource given the resource type and name.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0