ChoiceAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ChoiceAttribute(Object[]) |
Create a ChoiceAttribute with |
ChoiceAttribute(Object[], Object) |
Create a ChoiceAttribute with |
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