다음을 통해 공유


Completion2 생성자 (String, String, String, ImageSource, String)

Initializes a new instance of Completion2.

네임스페이스:  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 _
)
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
)

매개 변수

  • displayText
    형식: String

    The text that is to be displayed by an IntelliSense presenter.

  • insertionText
    형식: String

    The text that is to be inserted into the buffer if this completion is committed.

  • description
    형식: String

    A description that could be displayed with the display text of the completion.

  • iconSource
    형식: ImageSource

    The icon to describe the completion item.

  • iconAutomationText
    형식: String

    The automation name for the icon.

.NET Framework 보안

참고 항목

참조

Completion2 클래스

Completion2 오버로드

Microsoft.VisualStudio.Language.Intellisense 네임스페이스