blockly > Procedures > IProcedureModel > insertParameter
روش () Procedures.IProcedureModel.insertParameter
یک پارامتر را در لیست پارامترها درج می کند.
برای جابجایی یک پارامتر، ابتدا آن را حذف کنید و سپس دوباره وارد کنید.
امضا:
insertParameter(parameterModel: IParameterModel, index: number): this;
پارامترها
برمی گرداند:
این
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی."],[[["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."]]],[]]