DocsView.setIncludeFolders 메서드
뷰 항목에 폴더를 표시합니다. setOwnedByMe
와 결합하지 마세요. setIncludeFolders(true)
이 설정되면 setOwnedByMe
이 무시됩니다.
이 옵션을 설정하지 않으면 뷰에 폴더가 표시되지 않습니다.
서명
setIncludeFolders(included: boolean): DocsView;
세부정보
선택사항 |
아니요 |
종료 |
아니요 |
보호됨 |
아니요 |
정적 |
아니요 |
매개변수
이름 |
유형 |
선택사항 |
설명 |
included |
boolean |
아니요 |
|
반환 값
DocsView
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-08(UTC)
[null,null,["최종 업데이트: 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."]]],["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"]]