Task.ImageIndex Property
Gets or sets the index of the image associated with the task.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Property ImageIndex As Integer
Get
Set
'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);
}
member ImageIndex : int with get, set
function get ImageIndex () : int
function set ImageIndex (value : int)
Property Value
Type: System.Int32
The index of the image associated with the task.
.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.