Share via


COMError.ToString Method

Definition

Returns a string that contains the class handle and name, and sometimes additional information.

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

Returns

A textual description of the class.

Remarks

For most classes, the string that is returned contains the class handle and name. However, for some classes, additional information is included in the string.

Applies to