创建 wiki 网页,设置与 web 部件,并设置其 web 根文件夹的欢迎页面 URL。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides Sub FeatureActivated ( _
properties As SPFeatureReceiverProperties _
)
用法
Dim instance As SPWikiPageHomePageFeatureReceiver
Dim properties As SPFeatureReceiverProperties
instance.FeatureActivated(properties)
public override void FeatureActivated(
SPFeatureReceiverProperties properties
)
参数
properties
类型:Microsoft.SharePoint.SPFeatureReceiverProperties提供对事件属性例如已创建,功能定义或功能的父对象的功能实例访问**[Microsoft.SharePoint.SPFeatureReceiverProperties]**类。
备注
激活 Wiki 页面主页功能后,我们将创建 wiki 网页、 设置 web 部件和设置为 web 根文件夹的欢迎页 URL。旧欢迎的页面存储 URL。
另请参阅
引用
SPWikiPageHomePageFeatureReceiver 类