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

Object内で検索するIList

返品

true 値がコレクション内にある場合。それ以外の場合は false

実装

注釈

ObjectActivity型でない場合は、エラー メッセージ "Error_InvalidListItem" で例外を発生させます。

適用対象