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
类型:ImageSourceThe icon to describe the completion item.
automationName
类型:StringThe automation name for the icon.
automationId
类型:StringThe automation id for the icon.
position
类型:Int32The display position of the icon. If no value is provided this will be zero.
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。