रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > तरीका > IProcedureModel > insertParameter
तरीके
पैरामीटर की सूची में पैरामीटर शामिल करता है.
किसी पैरामीटर को एक से दूसरी जगह ले जाने के लिए, पहले उसे मिटाएं और फिर से डालें.
हस्ताक्षर:
insertParameter(parameterModel: IParameterModel, index: number): this;
पैरामीटर
लौटाए जाने वाले प्रॉडक्ट:
यह
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["The `insertParameter` method adds a parameter to a procedure's parameter list within Blockly's Procedures namespace."],["To reposition a parameter, it must first be removed with a separate operation and then reinserted using `insertParameter` at the desired index."],["The method requires an `IParameterModel` object representing the new parameter and an index specifying its position within the list."]]],["The `insertParameter` method, part of the `Procedures.IProcedureModel`, adds a parameter to a list of parameters. It takes two inputs: `parameterModel` of type `IParameterModel`, and `index` (a number), specifying the insertion point. To move a parameter, one must first delete it and then use this function to re-insert it at the intended `index`. This method returns the instance of the object it was called on.\n"]]