CompilerError.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a string that represents the current CompilerError.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Returns
A string that represents the current CompilerError.
Remarks
Converts the diagnostic to a string of the following form:
[filename(line,column):] AAAAA CSXXXX: message
In this example, AAAAA is either: "warning", "error", or "fatal error", and CSXXXX is the diagnostic number in decimal format. This is the same format seen at the command line.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.