ActivityCollection.ICollection<Activity>.Contains(Activity) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
パラメーター
返品
true 値がコレクション内にある場合。それ以外の場合は false。
実装
注釈
ObjectがActivity型でない場合は、エラー メッセージ "Error_InvalidListItem" で例外を発生させます。