Metode DocsView.setIncludeFolders
Menampilkan folder dalam item tampilan. Jangan gabungkan dengan setOwnedByMe
. Jika
setIncludeFolders(true)
ditetapkan, setOwnedByMe
akan diabaikan.
Jika Anda tidak menetapkan opsi ini, folder tidak akan ditampilkan dalam tampilan.
Tanda Tangan
setIncludeFolders(included: boolean): DocsView;
Detail
Opsional |
Tidak |
Final |
Tidak |
Dengan kontrasepsi |
Tidak |
Statis |
Tidak |
Parameter
Nama |
Jenis |
Opsional |
Deskripsi |
included |
boolean |
Tidak |
|
Hasil
DocsView
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-08 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-08 UTC."],[[["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."]]],[]]