System.Web 2.0.0.0

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

On using resources in localization, see ASP.NET Web Page Resources Overview.

On using embedded resources, see How to: Use Resources to Set ASP.NET Control Property Values and How to: Read Resource Values Programmatically.

On control designers, see Introduction to ASP.NET Control Designers.

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

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

- Method
  System.String `` `` To be added.

  At run time, the method returns a URL to a resource. The class defines the HTTP handler that is used to load embedded resources.

  At design time, the method of the class detects design mode and delegates to the designer-host service implementation, which returns a URL.

  Returns a URL reference to an embedded resource in an assembly that is used at design time.

  The URL reference to the resource.

  The type in the assembly that contains the embedded resource. 2.0.0.0