SPEventHostType 简单类型 (DeploymentManifest)

适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

指定事件主机的对象类型。

定义

<xs:simpleType name="SPEventHostType" >
   <xs:restriction base="xs:string">
      <xs:enumeration value="Site" />
      <xs:enumeration value="Web" />
      <xs:enumeration value="List" />
      <xs:enumeration value="ListItem" />
      <xs:enumeration value="ContentType" />
      <xs:enumeration value="Feature" />
   </xs:restriction>
</xs:simpleType>

枚举值

说明
Site
SharePoint 网站对象 (SPSite)。
Web
SharePoint Web 对象 (SPWeb)。
List
SharePoint 列表对象 (SPList)。
ListItem
SharePoint ListItem 对象 (SPListItem)。
ContentType
SharePoint ContentType 对象 (SPContentType)。
功能
SharePoint 功能对象 (SPFeature)。

另请参阅