EnumValueCollection.Contains Method (IEnumValue)

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

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public bool Contains(
    IEnumValue item
)

Parameters

item

Type: TwinCAT.TypeSystem.IEnumValue
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)

Reference

EnumValueCollection Class

Contains Overload

TwinCAT.TypeSystem Namespace