共用方式為


ISharePointProjectCollection.Item 屬性

使用指定的專案路徑,取得 SharePoint 專案的執行個體。

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

語法

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

參數

  • fullPath
    型別:System.String
    所要求專案的完整路徑。

屬性值

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

.NET Framework 安全性

請參閱

參考

ISharePointProjectCollection 介面

Microsoft.VisualStudio.SharePoint 命名空間