Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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