Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of Completion2.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Public Sub New ( _
displayText As String, _
insertionText As String, _
description As String, _
iconSource As ImageSource, _
iconAutomationText As String _
)
public Completion2(
string displayText,
string insertionText,
string description,
ImageSource iconSource,
string iconAutomationText
)
public:
Completion2(
String^ displayText,
String^ insertionText,
String^ description,
ImageSource^ iconSource,
String^ iconAutomationText
)
new :
displayText:string *
insertionText:string *
description:string *
iconSource:ImageSource *
iconAutomationText:string -> Completion2
public function Completion2(
displayText : String,
insertionText : String,
description : String,
iconSource : ImageSource,
iconAutomationText : String
)
Parameters
displayText
Type: StringThe text that is to be displayed by an IntelliSense presenter.
insertionText
Type: StringThe text that is to be inserted into the buffer if this completion is committed.
description
Type: StringA description that could be displayed with the display text of the completion.
iconSource
Type: ImageSourceThe icon to describe the completion item.
iconAutomationText
Type: StringThe automation name for the icon.
.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.