Style.GetStyleAttributes(IUrlResolutionService) Method

Definition

Retrieves the CssStyleCollection object for the specified IUrlResolutionService-implemented object.

C#
public System.Web.UI.CssStyleCollection GetStyleAttributes(System.Web.UI.IUrlResolutionService urlResolver);

Parameters

urlResolver
IUrlResolutionService

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

Returns

A CssStyleCollection object.

Remarks

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.

Applies to

Proizvod Verzije
.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

See also