रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > कनेक्शन > getParentAndChildConnections
कनेक्शन.getParentAndChildConnections() तरीका
यह कनेक्शन और जिस कनेक्शन से यह कनेक्ट है, उसके आधार पर पैरंट कनेक्शन (सबसे अच्छा) और चाइल्ड कनेक्शन (खराब) दिखाता है.
हस्ताक्षर:
protected getParentAndChildConnections(): {
parentConnection?: Connection;
childConnection?: Connection;
};
लौटाए जाने वाले प्रॉडक्ट:
{ parentConnection?: कनेक्शन; childConnection?: कनेक्शन; } पर स्विच करने के मकसद से, हमसे संपर्क करने के लिए धन्यवाद.
यह कनेक्शन और जिस कनेक्शन से यह कनेक्ट किया गया है, उसके आधार पर पैरंट कनेक्शन और चाइल्ड कनेक्शन.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-29 (UTC) को अपडेट किया गया."],[[["The `getParentAndChildConnections()` method identifies and returns the parent and child connections relative to a given connection and its connected counterpart."],["It returns an object containing optional `parentConnection` and `childConnection` properties, which are instances of the `Connection` class."],["This method is designated as `protected`, suggesting its primary use is within the internal workings of Blockly rather than direct external usage."]]],["The `getParentAndChildConnections()` method identifies the parent and child connections within a linked pair. It returns an object containing two optional properties: `parentConnection` and `childConnection`, both of which are of the `Connection` type. This method determines the hierarchical relationship between two connected instances, indicating which is superior (parent) and which is inferior (child). It is a protected method and used internally within a class.\n"]]