Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > Procedimientos > IProcedureModel > setName
Método Procedures.IProcedureModel.setName()
Establece el nombre del procedimiento en lenguaje natural.
Signature:
setName(name: string): this;
Parámetros
Parámetro |
Tipo |
Descripción |
nombre |
string |
|
Muestra:
esto
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-09-12 (UTC)
[null,null,["Última actualización: 2024-09-12 (UTC)"],[[["The `setName` method updates the human-readable name of a procedure."],["It accepts a single string parameter, `name`, which represents the new name for the procedure."],["The method returns the `IProcedureModel` instance itself, allowing for method chaining."]]],["The `setName` method, part of the `Procedures.IProcedureModel` interface, allows setting the human-readable name of a procedure. It accepts a single string parameter, `name`, which represents the desired name. The method returns the instance (`this`) on which it was called. No other specific actions or information is provided beyond the method's core function of assigning a name to a procedure model.\n"]]