Export (0) Print
Expand All

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)

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public interface IResourceUrlGenerator

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft