共用方式為


ISharePointProjectItemCollection.Item 屬性

依資料夾路徑,取得 ISharePointProjectItem 的執行個體。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Default Property Item ( _
    folderPath As String _
) As ISharePointProjectItem
    Get
ISharePointProjectItem this[
    string folderPath
] { get; }

參數

屬性值

型別:Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
如果找到則為 SharePoint 專案項目的執行個體,否則為 nullNull 參照 (即 Visual Basic 中的 Nothing) 或 Nothing。

備註

folderPath 可以是絕對資料夾路徑或是專案資料夾的相對路徑。

.NET Framework 安全性

請參閱

參考

ISharePointProjectItemCollection 介面

Microsoft.VisualStudio.SharePoint 命名空間