Condition.In Method (T, IEnumerable)

Enables exploration of the enclosing rule if an element is contained in a collection.

Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public static void In<T> (
    T element,
    IEnumerable<T> values
)

GenericParameters

  • T
    The type of elements in the collection.

Parameters

  • element
    The value to locate in the collection.
  • values
    The collection in which to locate the value.

Remarks

If values does not contain element, then Spec Explorer does not explore the rule.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

Condition Class
Condition Members
Microsoft.Modeling Namespace
Condition.In Method (T, T)