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
‘선언
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.
- applicableTo
Type: Microsoft.VisualStudio.Text.ITrackingSpan
The 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.