IVsErrorItem2.GetCustomIconIndex Method

Gets the index of the custom icon for the error.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetCustomIconIndex ( _
    <OutAttribute> ByRef index As Integer _
) As Integer
int GetCustomIconIndex(
    out int index
)
int GetCustomIconIndex(
    [OutAttribute] int% index
)
abstract GetCustomIconIndex : 
        index:int byref -> int
function GetCustomIconIndex(
    index : int
) : int

Parameters

  • index
    Type: Int32%

    [out] The index of the icon for this error.

Return Value

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

.NET Framework Security

See Also

Reference

IVsErrorItem2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace