ErrorPrototype.toString(Object) Metodo

Definizione

Crea una rappresentazione di stringa dell'oggetto specificato.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static System::String ^ toString(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Error_toString)]
public static string toString(object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Error_toString)>]
static member toString : obj -> string
Public Shared Function toString (thisob As Object) As String

Parametri

thisob
Object

Oggetto su cui agisce questo metodo.

Valori restituiti

Rappresentazione di stringa di thisob che contiene il nome del tipo dell'oggetto errore e un messaggio di errore, se presente.

Attributi

Si applica a

Vedi anche