IUrlResolutionService Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a service implemented by objects to resolve relative URLs based on contextual information.
public interface class IUrlResolutionService
public interface IUrlResolutionService
type IUrlResolutionService = interface
Public Interface IUrlResolutionService
- Derived
This interface defines the service that is used to resolve URL paths. The IUrlResolutionService interface is used for resolving relative paths and paths that contain the ~ operator. Server controls that reference resources can define the paths to the resources through the ~ operator, which represents the root of the current application. A path containing the ~ operator will not work if passed to the browser. The server control must convert the path to an absolute or relative path before passing it to the browser.
Control implements this interface. A control that derives from Control could override this implementation to provide customized resolution of URLs.
Resolve |
Returns a resolved URL that is suitable for use by the client. |
Produkt | Verzie |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: