Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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.StringThe unique, non-localized identifier for the completion set.
displayName
Type: System.StringThe localized name of the completion set.
applicableTo
Type: Microsoft.VisualStudio.Text.ITrackingSpanThe tracking span to which the completions apply.
completions
Type: System.Collections.Generic.IEnumerable<Completion>The list of completions.
completionBuilders
Type: System.Collections.Generic.IEnumerable<Completion>The list of completion builders.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.