共用方式為


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 命名空間