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)
Syntax
'Declaration
Public Shared Function Enum ( _
ParamArray names As String() _
) As Domain
public static Domain Enum(
params string[] names
)
public:
static Domain^ Enum(
... array<String^>^ names
)
static member Enum :
names:string[] -> Domain
public static function Enum(
... names : String[]
) : Domain
Parameters
- names
Type: array<System.String[]
The names of domains.
Return Value
Type: Microsoft.SolverFoundation.Services.Domain
An array of domain names.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.