ChoiceResultCollection<TResult> 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
ChoiceResultCollection<TResult>() |
Initializes a new instance of the ChoiceResultCollection<TResult> class. |
ChoiceResultCollection<TResult>(IEnumerable<KeyValuePair<ChoiceDescription,TResult>>) |
Initializes a new instance of the ChoiceResultCollection<TResult> class. |
ChoiceResultCollection<TResult>()
Initializes a new instance of the ChoiceResultCollection<TResult> class.
public ChoiceResultCollection ();
Public Sub New ()
Applies to
ChoiceResultCollection<TResult>(IEnumerable<KeyValuePair<ChoiceDescription,TResult>>)
Initializes a new instance of the ChoiceResultCollection<TResult> class.
public ChoiceResultCollection (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.VisualStudio.Extensibility.Shell.ChoiceDescription,TResult>> choiceResultPairs);
new Microsoft.VisualStudio.Extensibility.Shell.ChoiceResultCollection<'Result (requires 'Result : struct)> : seq<System.Collections.Generic.KeyValuePair<Microsoft.VisualStudio.Extensibility.Shell.ChoiceDescription, 'Result>> -> Microsoft.VisualStudio.Extensibility.Shell.ChoiceResultCollection<'Result (requires 'Result : struct)>
Public Sub New (choiceResultPairs As IEnumerable(Of KeyValuePair(Of ChoiceDescription, TResult)))
Parameters
- choiceResultPairs
- IEnumerable<KeyValuePair<ChoiceDescription,TResult>>
A collection of pairs mapping ChoiceDescription to TResult
values.