CompletionIcon 构造函数 (ImageSource, String, String, Int32)

Initializes a new instance of CompletionIcon.

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
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
)

参数

  • imageSource
    类型:ImageSource

    The icon to describe the completion item.

  • automationName
    类型:String

    The automation name for the icon.

  • automationId
    类型:String

    The automation id for the icon.

  • position
    类型:Int32

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

.NET Framework 安全性

请参阅

参考

CompletionIcon 类

CompletionIcon 重载

Microsoft.VisualStudio.Language.Intellisense 命名空间