ActivityCollection.ICollection<Activity>.Contains(Activity) メソッド

定義

Object がコレクションに属するかどうかを表す値を取得します。

 virtual bool System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Contains(System::Workflow::ComponentModel::Activity ^ item) = System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^>::Contains;
bool ICollection<Activity>.Contains (System.Workflow.ComponentModel.Activity item);
abstract member System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Contains : System.Workflow.ComponentModel.Activity -> bool
override this.System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity>.Contains : System.Workflow.ComponentModel.Activity -> bool
Function Contains (item As Activity) As Boolean Implements ICollection(Of Activity).Contains

パラメーター

item
Activity

IList 内で検索される Object

戻り値

Boolean

値がコレクション内に存在する場合は true、それ以外の場合は false

実装

注釈

ObjectActivity 型でない場合は例外が発生し、エラー メッセージ "Error_InvalidListItem" が出力されます。

適用対象