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
'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: StringThe unique, non-localized identifier for the completion set.
displayName
Type: StringThe localized name of the completion set.
applicableTo
Type: Microsoft.VisualStudio.Text.ITrackingSpanThe tracking span to which the completions apply.
completions
Type: IEnumerable<Completion>The list of completions.
completionBuilders
Type: 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.