Partager via


ChoiceResultCollection<TResult> Constructors

Definition

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.

Applies to