Completion2 생성자 (String, String, String, ImageSource, String, IEnumerable<CompletionIcon>)
Initializes a new instance of Completion2 with the specified text and icon.
네임스페이스: Microsoft.VisualStudio.Language.Intellisense
어셈블리: Microsoft.VisualStudio.Language.Intellisense(Microsoft.VisualStudio.Language.Intellisense.dll)
구문
‘선언
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>
)
매개 변수
displayText
형식: StringThe text that is to be displayed by an IntelliSense presenter.
insertionText
형식: StringThe text that is to be inserted into the buffer if this completion is committed.
description
형식: StringA description that could be displayed with the display text of the completion.
iconSource
형식: ImageSourceThe icon to describe the completion item.
iconAutomationText
형식: StringThe automation name for the icon.
attributeIcons
형식: IEnumerable<CompletionIcon>Additional icons shown to the right of the DisplayText.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.