SharePointProjectItemStartupUrlRequestedEventArgs 建構函式
使用所提供 ISharePointProjectItem 的執行個體,初始化 SharePointProjectItemStartupUrlRequestedEventArgs 類別的新執行個體。
命名空間: Microsoft.VisualStudio.SharePoint
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Public Sub New ( _
projectItem As ISharePointProjectItem, _
deploymentContext As ISharePointProjectItemDeploymentContext _
)
public SharePointProjectItemStartupUrlRequestedEventArgs(
ISharePointProjectItem projectItem,
ISharePointProjectItemDeploymentContext deploymentContext
)
參數
- projectItem
型別:Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
SharePoint 專案項目的執行個體。
- deploymentContext
型別:Microsoft.VisualStudio.SharePoint.Deployment.ISharePointProjectItemDeploymentContext
ISharePointProjectItemDeploymentContext 物件,包含專案項目部署的相關資訊。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。