blockly > Xml > variablesToDom
الدالة Xml.variablesToDom()
يمكنك ترميز قائمة المتغيّرات بتنسيق XML.
Signature:
export declare function variablesToDom(variableList: VariableModel[]): Element;
المعلمات
المعلمة |
النوع |
الوصف |
variableList |
VariableModel[] |
تمثّل هذه السمة قائمة بجميع النماذج المتغيّرة. |
المرتجعات:
العنصر
شجرة عناصر XML
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `variablesToDom` function within the Blockly Xml namespace converts a list of variable models into an XML tree."],["It accepts a single argument: an array of `VariableModel` objects representing the variables to be encoded."],["The function returns an `Element` which represents the root of the generated XML tree containing the encoded variables."]]],[]]