CompilerError.ToString 方法

定义

提供对象的 ToString() 方法的实现。Provides an implementation of Object's ToString() method.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

String

编译器错误的字符串表示形式。A string representation of the compiler error.

注解

此方法受支持,因此 CompilerError 可将对象视为简化调试输出的对象。This method is supported so CompilerError objects can be treated as objects for simplified debugging output.

适用于