Share via


Task.ImageIndex Property

Gets or sets the index of the image associated with the task.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaration
Public Property ImageIndex As Integer
'Usage
Dim instance As Task 
Dim value As Integer 

value = instance.ImageIndex

instance.ImageIndex = value
public int ImageIndex { get; set; }
public:
property int ImageIndex {
    int get ();
    void set (int value);
}
public function get ImageIndex () : int 
public function set ImageIndex (value : int)

Property Value

Type: System.Int32
The index of the image associated with the task.

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace