DocsView.setsetByMe
दस्तावेज़ों को इस आधार पर फ़िल्टर करता है कि उन पर उपयोगकर्ता का मालिकाना हक है या उन्हें उपयोगकर्ता के साथ शेयर किया गया है. इस सेटिंग को setIncludeFolders
के साथ न जोड़ें. setIncludeFolders(true)
को सेट करने पर, setOwnedByMe
को अनदेखा कर दिया जाता है.
अगर यह विकल्प सेट नहीं किया जाता है, तो व्यू में सभी दस्तावेज़ दिखते हैं. इनमें शेयर किए गए दस्तावेज़ भी शामिल हैं.
हस्ताक्षर
setOwnedByMe(me: boolean): DocsView;
विवरण
वैकल्पिक |
नहीं |
फ़ाइनल |
नहीं |
सुरक्षित सेक्स |
नहीं |
स्थिर |
नहीं |
पैरामीटर
नाम |
टाइप |
वैकल्पिक |
ब्यौरा |
me |
boolean |
नहीं |
|
रिटर्न
DocsView
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया."],[[["Filters documents in the view based on ownership (owned by the user or shared with them)."],["When `setIncludeFolders(true)` is used, the `setOwnedByMe` setting is disregarded."],["If this option is not configured, all documents, including shared ones, will be displayed."],["This method is not optional, final, protected, or static."],["Accepts a boolean parameter (`me`) to determine the filtering behavior and returns a DocsView object."]]],["This method filters documents displayed in the view. Setting `setOwnedByMe(true)` shows only user-owned documents; otherwise, shared documents are also included. This setting is overridden if `setIncludeFolders(true)` is set. The method requires a boolean parameter (`me`) to determine the filtering and returns a `DocsView` object. If not specified, all documents are included.\n"]]