Costruttore Completion2 (String, String, String, ImageSource, String, IEnumerable<CompletionIcon>)
Initializes a new instance of Completion2 with the specified text and icon.
Spazio dei nomi: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
displayText As String, _
insertionText As String, _
description As String, _
iconSource As ImageSource, _
iconAutomationText As String, _
attributeIcons As IEnumerable(Of CompletionIcon) _
)
public Completion2(
string displayText,
string insertionText,
string description,
ImageSource iconSource,
string iconAutomationText,
IEnumerable<CompletionIcon> attributeIcons
)
public:
Completion2(
String^ displayText,
String^ insertionText,
String^ description,
ImageSource^ iconSource,
String^ iconAutomationText,
IEnumerable<CompletionIcon^>^ attributeIcons
)
new :
displayText:string *
insertionText:string *
description:string *
iconSource:ImageSource *
iconAutomationText:string *
attributeIcons:IEnumerable<CompletionIcon> -> Completion2
public function Completion2(
displayText : String,
insertionText : String,
description : String,
iconSource : ImageSource,
iconAutomationText : String,
attributeIcons : IEnumerable<CompletionIcon>
)
Parametri
displayText
Tipo: StringThe text that is to be displayed by an IntelliSense presenter.
insertionText
Tipo: StringThe text that is to be inserted into the buffer if this completion is committed.
description
Tipo: StringA description that could be displayed with the display text of the completion.
iconSource
Tipo: ImageSourceThe icon to describe the completion item.
iconAutomationText
Tipo: StringThe automation name for the icon.
attributeIcons
Tipo: IEnumerable<CompletionIcon>Additional icons shown to the right of the DisplayText.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.VisualStudio.Language.Intellisense