共用方式為


CssRegistration.ConditionalExpression Property

Gets or sets a conditional expression that specifies the browser version to which the cascading style sheet (CSS) registration applies.

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

Syntax

'Declaration
Public Property ConditionalExpression As String
    Get
    Set
'Usage
Dim instance As CssRegistration
Dim value As String

value = instance.ConditionalExpression

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

Property Value

Type: System.String
A string that contains the conditional expression.

Remarks

For example, if the ConditionalExpression property is "IE 6.0", the registration applies to Internet Explorer version 6.0.

See Also

Reference

CssRegistration Class

CssRegistration Members

Microsoft.SharePoint.WebControls Namespace