ExternalError 结构

定义

用于创建新的外部错误。

public value class ExternalError
public value class ExternalError
struct ExternalError
public struct ExternalError
type ExternalError = struct
Public Structure ExternalError
继承
ExternalError

注解

COM 签名

源: singlefileeditor

typedef struct _tag_ExternalError {  
    long iLine;  
    long iCol;  
    long iErrorID;  
    BOOL fError;  
    BSTR bstrText;  
    BSTR bstrFileName;  
} ExternalError;  

此结构在接口中使用 IVsEnumExternalErrors ,并通过调用 Next 方法返回。

字段

bstrFileName

包含错误的文件的文件名。

bstrText

错误文本。

fError

如果错误为非零,则为零表示警告。

iCol

错误列号。

iErrorID

错误 ID。

iLine

错误行号。

适用于