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 命名空间