获取或设置 HTML 内容和服务器为此 Web 部件提供内容的控件标记。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<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; }
属性值
类型:System.String
HTML 内容和服务器控制为此 Web 部件提供内容的标记。