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: ImageSourceThe icon to describe the completion item.
automationName
Type: StringThe automation name for the icon.
automationId
Type: StringThe automation id for the icon.
position
Type: Int32The display position of the icon. If no value is provided this will be zero.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.