WikiContentWebpart.Content property
取得或設定 HTML 內容和伺服器控制項標記可提供此 Web 組件的內容。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Property Content As String
Get
Set
'用途
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
HTML 內容和伺服器控制標記,它提供此 Web 組件的內容。