الطريقة DocsView.setIncludeمجلدs
إظهار المجلدات في عناصر العرض. لا تدمجه مع setOwnedByMe
. وعند ضبط السياسة setIncludeFolders(true)
، يتم تجاهل السمة setOwnedByMe
.
في حال عدم ضبط هذا الخيار، لن يتم عرض المجلدات في العرض.
التوقيع
setIncludeFolders(included: boolean): DocsView;
التفاصيل
اختياري |
لا |
النهائي |
لا |
الحماية |
لا |
ثابت |
لا |
المعلمات
الاسم |
النوع |
اختياري |
الوصف |
included |
boolean |
لا |
|
المرتجعات
DocsView
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `setIncludeFolders` method controls the display of folders within the view items, and if set to `true`, it overrides the `setOwnedByMe` setting."],["By default, folders are not displayed in the view unless you explicitly enable them using this method."],["This method is a non-final, non-protected, and non-static member of the `DocsView` class and accepts a boolean parameter indicating whether to include folders."],["Utilizing `setIncludeFolders`, developers can manipulate the visibility of folders within the `DocsView` and ultimately refine the user's document browsing experience."]]],["The `setIncludeFolders(included: boolean)` method controls folder visibility in the view items. Setting `included` to `true` displays folders; otherwise, folders are hidden. When `setIncludeFolders(true)` is applied, the `setOwnedByMe` setting is disregarded. This method returns a `DocsView` object, is non-optional, and requires a boolean `included` parameter to function. It is not a final, protected, or static method.\n"]]