با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > Input > getSourceBlock
بلوک منبع را برای این ورودی دریافت کنید.
امضا:
getSourceBlock(): Block;
برمیگرداند:
مسدود کردن
بلوکی که این ورودی بخشی از آن است.
،
blockly > Input > getSourceBlock
بلوک منبع را برای این ورودی دریافت کنید.
امضا:
getSourceBlock(): Block;
برمیگرداند:
مسدود کردن
بلوکی که این ورودی بخشی از آن است.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی."],[[["The `Input.getSourceBlock()` method retrieves the parent block associated with a specific input."],["This method returns a `Block` object, representing the block to which the input belongs."]]],["The `Input.getSourceBlock()` method retrieves the source block associated with a given input. It is a method call that returns a `Block` object. This returned `Block` represents the parent block to which the input belongs. Essentially, it provides a way to identify the block that contains a specific input. The method's signature, `getSourceBlock(): Block;`, indicates its function and the type of data it returns.\n"]]