共用方式為


IVsErrorItem2.GetCustomIconIndex(Int32) Method

Definition

Gets the index of the custom icon for the error.

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

Parameters

index
Int32

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

Returns

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

Applies to