Partilhar via


Query.ToString Method

Definition

Returns a string that represents the current object.

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 object.

Remarks

The default implementation returns the class name of the object. However, the method can be overridden in a derived class so that it returns values that are meaningful for that type. For example, an instance of the SysMethodInfo class returns the method name, and the type of method, such as Instance or Static.

Applies to