SPWeb.AlternateCssUrl property

Gets or sets the URL for an alternate cascading style sheet (CSS) to use in the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AlternateCssUrl As String
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As String

value = instance.AlternateCssUrl

instance.AlternateCssUrl = value
public string AlternateCssUrl { get; set; }

Property value

Type: System.String
A string that contains the URL for an alternate CSS file.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace