ChoiceAttribute Constructors

Definition

Overloads

ChoiceAttribute(Object[])

Create a ChoiceAttribute with candidates.

ChoiceAttribute(Object[], Object)

Create a ChoiceAttribute with candidates and defaultValue.

ChoiceAttribute(Object[])

Create a ChoiceAttribute with candidates.

public ChoiceAttribute (params object[] candidates);
new Microsoft.ML.SearchSpace.ChoiceAttribute : obj[] -> Microsoft.ML.SearchSpace.ChoiceAttribute
Public Sub New (ParamArray candidates As Object())

Parameters

candidates
Object[]

Applies to

ChoiceAttribute(Object[], Object)

Create a ChoiceAttribute with candidates and defaultValue.

public ChoiceAttribute (object[] candidates, object defaultValue);
new Microsoft.ML.SearchSpace.ChoiceAttribute : obj[] * obj -> Microsoft.ML.SearchSpace.ChoiceAttribute
Public Sub New (candidates As Object(), defaultValue As Object)

Parameters

candidates
Object[]
defaultValue
Object

Applies to