PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Element­Collection(T) Class/Element­Collection(T) Methods/Element­Collection(T).​Contains Method

ElementCollection<T>.Contains Method

Determines whether the ICollection<T> contains a specific value.

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public bool Contains(
	T item
)

Parameters

item
Type: T
The object to locate in the ICollection<T>.

Return Value

Type: Boolean
true if item is found in the ICollection<T>; otherwise, false.

Implements

ICollection<T>.Contains(T)
See Also