গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
blockly > Block > setFieldValue
Block.setFieldValue() পদ্ধতি
এই ব্লকের জন্য প্রদত্ত ক্ষেত্রের মান সেট করে।
স্বাক্ষর:
setFieldValue(newValue: any, name: string): void;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
নতুন মান | যেকোনো | সেট করার মান। |
নাম | স্ট্রিং | যে ক্ষেত্রের মান সেট করতে হবে তার নাম। |
রিটার্ন:
অকার্যকর
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-18 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-18 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `setFieldValue` method updates the value of a specific field within a Blockly block."],["It requires two parameters: `newValue` specifying the desired value, and `name` indicating the target field to modify."],["This method does not return any value (void) after execution."]]],["The `Block.setFieldValue()` method allows modification of a block's field value. It takes two parameters: `newValue`, which is the desired value (of any type), and `name`, a string representing the target field's name. Executing this method updates the specified field within the block with the provided `newValue`. The method returns no value (void).\n"]]