Condividi tramite


Task.IVsTaskItem.ImageListIndex(Int32) Method

Definition

Gets the index of the image associated with the task.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.ImageListIndex([Runtime::InteropServices::Out] int % index) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::ImageListIndex;
int IVsTaskItem.ImageListIndex (out int index);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.ImageListIndex : int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.ImageListIndex : int -> int
Function ImageListIndex (ByRef index As Integer) As Integer Implements IVsTaskItem.ImageListIndex

Parameters

index
Int32

[out] The index of the associated image.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to