Domain.Enum Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a domain representing a choice between a group of strings.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)


Public Shared Function Enum ( _
    ParamArray names As String() _
) As Domain
public static Domain Enum(
    params string[] names
static Domain^ Enum(
    ... array<String^>^ names
static member Enum : 
        names:string[] -> Domain 
public static function Enum(
    ... names : String[]
) : Domain


Return Value

Type: Microsoft.SolverFoundation.Services.Domain
An array of domain names.

.NET Framework Security

See Also


Domain Class

Microsoft.SolverFoundation.Services Namespace