共用方式為


WikiContentWebpart.Content Property

Gets or sets the HTML content and server control tags that provide content for this Web Part.

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

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Property Content As String
    Get
    Set
'Usage
Dim instance As WikiContentWebpart
Dim value As String

value = instance.Content

instance.Content = value
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public string Content { get; set; }

Property Value

Type: System.String
The HTML content and server control tags that provide content for this Web Part.

See Also

Reference

WikiContentWebpart Class

WikiContentWebpart Members

Microsoft.SharePoint.WebPartPages Namespace