Compartilhar via


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

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

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaração
Public Sub New ( _
    moniker As String, _
    displayName As String, _
    applicableTo As ITrackingSpan, _
    completions As IEnumerable(Of Completion), _
    completionBuilders As IEnumerable(Of Completion) _
)
public CompletionSet(
    string moniker,
    string displayName,
    ITrackingSpan applicableTo,
    IEnumerable<Completion> completions,
    IEnumerable<Completion> completionBuilders
)
public:
CompletionSet(
    String^ moniker, 
    String^ displayName, 
    ITrackingSpan^ applicableTo, 
    IEnumerable<Completion^>^ completions, 
    IEnumerable<Completion^>^ completionBuilders
)
new : 
        moniker:string * 
        displayName:string * 
        applicableTo:ITrackingSpan * 
        completions:IEnumerable<Completion> * 
        completionBuilders:IEnumerable<Completion> -> CompletionSet
public function CompletionSet(
    moniker : String, 
    displayName : String, 
    applicableTo : ITrackingSpan, 
    completions : IEnumerable<Completion>, 
    completionBuilders : IEnumerable<Completion>
)

Parameters

  • moniker
    Type: System.String
    The unique, non-localized identifier for the completion set.
  • displayName
    Type: System.String
    The localized name of the completion set.

.NET Framework Security

See Also

Reference

CompletionSet Class

CompletionSet Overload

Microsoft.VisualStudio.Language.Intellisense Namespace