ISharePointProjectFeatureCollection.Item 属性

使用指定的文件夹路径获取 ISharePointProjectFeature 的实例。

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

语法

声明
ReadOnly Default Property Item ( _
    folderPath As String _
) As ISharePointProjectFeature
    Get
ISharePointProjectFeature this[
    string folderPath
] { get; }

参数

属性值

类型:Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature
如果找到 SharePoint 功能的实例,则为该实例;否则为 nullnull 引用(在 Visual Basic 中为 Nothing)(或在 Visual Basic 中为 Nothing)。

备注

文件夹路径可以是绝对文件夹路径、相对于项目文件夹的路径或文件夹名称。

.NET Framework 安全性

请参见

参考

ISharePointProjectFeatureCollection 接口

Microsoft.VisualStudio.SharePoint 命名空间