共用方式為


CssLink.Alternate Property

Gets or sets a value that determines the rendering of the CssLink control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property Alternate As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As CssLink
Dim value As Nullable(Of Boolean)

value = instance.Alternate

instance.Alternate = value
public Nullable<bool> Alternate { get; set; }

Property Value

Type: System.Nullable<Boolean>
true if the primary CssLink (core.css/corev4.css) will not be rendered by the control; false if the primary CssLink (core.css/corev4.css) will be rendered by the control; otherwise a null reference (Nothing in Visual Basic).

See Also

Reference

CssLink Class

CssLink Members

Microsoft.SharePoint.WebControls Namespace