ISharePointProjectItemDeploymentContext.Feature 属性

获取与项目项关联的主要功能。

命名空间:  Microsoft.VisualStudio.SharePoint.Deployment
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
ReadOnly Property Feature As ISharePointProjectFeature
    Get
ISharePointProjectFeature Feature { get; }

属性值

类型:Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature
一个表示 SharePoint 功能的对象。

备注

如果该项目项存在于多个功能中,则使用具有最具体部署范围的功能。

如果多个功能具有相同的部署范围,则使用任意功能。

.NET Framework 安全性

请参见

参考

ISharePointProjectItemDeploymentContext 接口

Microsoft.VisualStudio.SharePoint.Deployment 命名空间