共用方式為


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
)

參數

  • resolve
    型別:System.Func<ISharePointProjectItem, Boolean>

傳回值

型別:Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConflict

.NET Framework 安全性

請參閱

參考

IDeploymentConflictCollection 介面

Microsoft.VisualStudio.SharePoint.Deployment 命名空間