ObjectPrototype.toString(Object) Metodo
Definizione
Crea una rappresentazione di stringa dell'oggetto specificato.Creates a string representation of the specified object.
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.Object_toString)]
public static string toString (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Object_toString)>]
static member toString : obj -> string
Public Shared Function toString (thisob As Object) As String
Parametri
- thisob
- Object
Oggetto su cui agisce questo metodo.The object that this method is acting upon.
Restituisce
Nome della classe dell'oggetto, se ne è stato definito uno. In caso contrario, oggetto Name dell'oggetto Type dell'oggetto.The name of the class of the object, if it has one defined; otherwise, the Name of the Type of the object.
- Attributi