更新 : 2010 年 5 月
IDeploymentConflict オブジェクトのコレクションを表します。 各 IDeploymentConflict は、SharePoint プロジェクト アイテムによって配置されたアイテムと SharePoint サイト上のアイテム間の競合を表します。
名前空間: Microsoft.VisualStudio.SharePoint.Deployment
アセンブリ: Microsoft.VisualStudio.SharePoint (Microsoft.VisualStudio.SharePoint.dll 内)
構文
'宣言
Public Interface IDeploymentConflictCollection _
Inherits IEnumerable(Of IDeploymentConflict), IEnumerable
public interface IDeploymentConflictCollection : IEnumerable<IDeploymentConflict>,
IEnumerable
IDeploymentConflictCollection 型で公開されるメンバーは以下のとおりです。
メソッド
名前 | 説明 | |
---|---|---|
![]() |
Add | 新しい IDeploymentConflict オブジェクトをこのコレクションに追加します。 |
![]() |
GetEnumerator() | コレクションを反復処理する列挙子を返します。 (IEnumerable<IDeploymentConflict> から継承されます。) |
![]() |
GetEnumerator() | コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。) |
このページのトップへ
解説
IDeploymentConflictCollection オブジェクトは、DeploymentStepStartedEventArgs.Conflicts プロパティによって返されます。 SharePoint プロジェクト項目が配置されているときに、展開競合が発生していることを確認した場合は、IDeploymentConflictCollection.Add(String, Func<T, TResult>, Boolean) メソッドを使用して Visual Studio に競合を通知し、Visual Studio がこの競合を解決するために呼び出すメソッドを指定します。 新しい配置競合を表す IDeploymentConflictCollection.Add(String, Func<T, TResult>, Boolean) オブジェクトを返す IDeploymentConflict メソッド。
例については、「方法: 配置競合を処理する」を参照してください。
参照
参照
Microsoft.VisualStudio.SharePoint.Deployment 名前空間
履歴の変更
日付 |
History |
理由 |
---|---|---|
2010 年 5 月 |
解説を追加しました。 |
情報の拡充 |