Freigeben über


CompletionSet2 Constructors

Definition

Overloads

CompletionSet2()

Initializes a new instance of CompletionSet2.

CompletionSet2(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>, IReadOnlyList<IIntellisenseFilter>)

Initializes a new instance of CompletionSet2 with the specified name, text and filters.

CompletionSet2()

Initializes a new instance of CompletionSet2.

public:
 CompletionSet2();
public:
 CompletionSet2();
 CompletionSet2();
public CompletionSet2 ();
Public Sub New ()

Applies to

CompletionSet2(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>, IReadOnlyList<IIntellisenseFilter>)

Initializes a new instance of CompletionSet2 with the specified name, text and filters.

public:
 CompletionSet2(System::String ^ moniker, System::String ^ displayName, Microsoft::VisualStudio::Text::ITrackingSpan ^ applicableTo, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::Completion ^> ^ completions, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::Completion ^> ^ completionBuilders, System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Language::Intellisense::IIntellisenseFilter ^> ^ filters);
public CompletionSet2 (string moniker, string displayName, Microsoft.VisualStudio.Text.ITrackingSpan applicableTo, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.Completion> completions, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.Completion> completionBuilders, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Language.Intellisense.IIntellisenseFilter> filters);
new Microsoft.VisualStudio.Language.Intellisense.CompletionSet2 : string * string * Microsoft.VisualStudio.Text.ITrackingSpan * seq<Microsoft.VisualStudio.Language.Intellisense.Completion> * seq<Microsoft.VisualStudio.Language.Intellisense.Completion> * System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Language.Intellisense.IIntellisenseFilter> -> Microsoft.VisualStudio.Language.Intellisense.CompletionSet2
Public Sub New (moniker As String, displayName As String, applicableTo As ITrackingSpan, completions As IEnumerable(Of Completion), completionBuilders As IEnumerable(Of Completion), filters As IReadOnlyList(Of IIntellisenseFilter))

Parameters

moniker
String

The unique, non-localized identifier for the completion set.

displayName
String

The localized name of the completion set.

applicableTo
ITrackingSpan

The tracking span to which the completions apply.

completions
IEnumerable<Completion>

The list of completions.

completionBuilders
IEnumerable<Completion>

The list of completion builders.

filters
IReadOnlyList<IIntellisenseFilter>

The list of IIntellisenseFilters that will be displayed at the bottom of the completion dialog.

Applies to