다음을 통해 공유


CompletionIcon Constructor (ImageSource, String, String, Int32)

Initializes a new instance of CompletionIcon.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Sub New ( _
    imageSource As ImageSource, _
    automationName As String, _
    automationId As String, _
    position As Integer _
)
public CompletionIcon(
    ImageSource imageSource,
    string automationName,
    string automationId,
    int position
)
public:
CompletionIcon(
    ImageSource^ imageSource, 
    String^ automationName, 
    String^ automationId, 
    int position
)
new : 
        imageSource:ImageSource * 
        automationName:string * 
        automationId:string * 
        position:int -> CompletionIcon
public function CompletionIcon(
    imageSource : ImageSource, 
    automationName : String, 
    automationId : String, 
    position : int
)

Parameters

  • imageSource
    Type: ImageSource

    The icon to describe the completion item.

  • automationName
    Type: String

    The automation name for the icon.

  • automationId
    Type: String

    The automation id for the icon.

  • position
    Type: Int32

    The display position of the icon. If no value is provided this will be zero.

.NET Framework Security

See Also

Reference

CompletionIcon Class

CompletionIcon Overload

Microsoft.VisualStudio.Language.Intellisense Namespace