适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013
表示在 Web 部件) 对象 (部署 Web 部件 实例时执行的脚本。
定义
DECLARATION
<xs:element name="Script" minOccurs="0" maxOccurs="1" />
USAGE
<WebPart>
<Script />
</WebPart>
类型
xs:string
元素和属性
下面各部分介绍了属性、子元素和父元素。
Attributes
无
子元素
无
父元素
备注
Web 部件可以派生自两个基类之一 - ASP.NET Web 部件 (WebPart) ,或 SharePoint Foundation Web 部件 (WebPart) 。