依資料夾路徑,取得 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; }
參數
- folderPath
型別:System.String
ISharePointProjectItem 資料夾路徑。
屬性值
型別:Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
如果找到則為 SharePoint 專案項目的執行個體,否則為 nullNull 參照 (即 Visual Basic 中的 Nothing) 或 Nothing。
備註
folderPath 可以是絕對資料夾路徑或是專案資料夾的相對路徑。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。