共用方式為


CompletionSet Constructors

Definition

Overloads

CompletionSet()

Initializes a new instance of CompletionSet.

CompletionSet(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>)

Initializes a new instance of CompletionSet with the specified name and text.

CompletionSet()

Initializes a new instance of CompletionSet.

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

Applies to

CompletionSet(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>)

Initializes a new instance of CompletionSet with the specified name and text.

public:
 CompletionSet(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);
public CompletionSet (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);
new Microsoft.VisualStudio.Language.Intellisense.CompletionSet : string * string * Microsoft.VisualStudio.Text.ITrackingSpan * seq<Microsoft.VisualStudio.Language.Intellisense.Completion> * seq<Microsoft.VisualStudio.Language.Intellisense.Completion> -> Microsoft.VisualStudio.Language.Intellisense.CompletionSet
Public Sub New (moniker As String, displayName As String, applicableTo As ITrackingSpan, completions As IEnumerable(Of Completion), completionBuilders As IEnumerable(Of Completion))

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.

Applies to