共用方式為


ISharePointProjectCollection.Find 方法

尋找具有指定 ID 的 SharePoint 專案執行個體。

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

語法

'宣告
Function Find ( _
    id As Guid _
) As ISharePointProject
ISharePointProject Find(
    Guid id
)

參數

  • id
    型別:System.Guid
    SharePoint 專案的識別碼。

傳回值

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

.NET Framework 安全性

請參閱

參考

ISharePointProjectCollection 介面

Microsoft.VisualStudio.SharePoint 命名空間