ExternalError Structure
Used to create a new external error.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Public Structure ExternalError
public struct ExternalError
public value class ExternalError
[<Sealed>]
type ExternalError = struct end
JScript supports the use of structures, but not the declaration of new ones.
The ExternalError type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
bstrFileName | File name of the file containing the error. | |
bstrText | Error text. | |
fError | Nonzero for error, zero for warning. | |
iCol | Error column number. | |
iErrorID | Error ID. | |
iLine | Error line number. |
Top
Remarks
COM Signature
From: singlefileeditor.idl
typedef struct _tag_ExternalError {
long iLine;
long iCol;
long iErrorID;
BOOL fError;
BSTR bstrText;
BSTR bstrFileName;
} ExternalError;
This structure is used in the IVsEnumExternalErrors interface and is returned by a call to the Next method.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.