IVsSmartTagData.GetImageIndex Method
Gets the index of the icon that is displayed with this smart tag data.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Function GetImageIndex ( _
<OutAttribute> ByRef piIndex As Integer _
) As Integer
int GetImageIndex(
out int piIndex
)
int GetImageIndex(
[OutAttribute] int% piIndex
)
abstract GetImageIndex :
piIndex:int byref -> int
function GetImageIndex(
piIndex : int
) : int
Parameters
- piIndex
Type: System.Int32%
[out] The image index.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.