共用方式為


WebPart.CssStyleSheet Property

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Overridable Property CssStyleSheet As String
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As String

value = instance.CssStyleSheet

instance.CssStyleSheet = value
[WebPartStorageAttribute(Storage.None)]
public virtual string CssStyleSheet { get; set; }

Property Value

Type: System.String

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace