Style.GetStyleAttributes Method (IUrlResolutionService)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Retrieves the System.Web.UI.CssStyleCollection object for the specified System.Web.UI.IUrlResolutionService-implemented object.

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

public CssStyleCollection GetStyleAttributes(
	IUrlResolutionService urlResolver


Type: System.Web.UI.IUrlResolutionService

A System.Web.UI.IUrlResolutionService-implemented object that contains the context information for the current location (URL).

Use the GetStyleAttributes method to retrieve the System.Web.UI.CssStyleCollection object for a specified System.Web.UI.IUrlResolutionService-implemented object. All classes derived from Control implement System.Web.UI.IUrlResolutionService.

.NET Framework
Available since 2.0
Return to top