IDeploymentConflictCollection.Add 方法
命名空間: Microsoft.VisualStudio.SharePoint.Deployment
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Function Add ( _
description As String, _
resolve As Func<(Of <<'(ISharePointProjectItem, Boolean>)>>), _
promptBeforeResolve As Boolean _
) As IDeploymentConflict
IDeploymentConflict Add(
string description,
Func<(Of <<'(ISharePointProjectItem, Boolean>)>>) resolve,
bool promptBeforeResolve
)
參數
- description
型別:System.String
- resolve
型別:System.Func<ISharePointProjectItem, Boolean>
- promptBeforeResolve
型別:System.Boolean
傳回值
型別:Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConflict
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。