Freigeben über


Choice.Some Method (T)

Selects an element from an array.

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

Usage

'Usage

Syntax

'Declaration
public static T Some<T> (
    params T[] values
)

GenericParameters

  • T
    The type of the value to select.

Parameters

  • values
    The array that contains the elements from which to choose.

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

Choice Class
Choice Members
Microsoft.Modeling Namespace