Share via


IVsSmartTagData.GetImageIndex(Int32) Method

Definition

Gets the index of the icon that is displayed with this smart tag data.

public:
 int GetImageIndex([Runtime::InteropServices::Out] int % piIndex);
int GetImageIndex([Runtime::InteropServices::Out] int & piIndex);
public int GetImageIndex (out int piIndex);
abstract member GetImageIndex : int -> int
Public Function GetImageIndex (ByRef piIndex As Integer) As Integer

Parameters

piIndex
Int32

[out] The image index.

Returns

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

Applies to