الطريقة DocsView.setOwnedByMe
تصفي المستندات استنادًا إلى ما إذا كانت مملوكة للمستخدم أو تمت مشاركتها معه. لا تجمع هذا الإعداد مع setIncludeFolders
. وعند ضبط السياسة setIncludeFolders(true)
، يتم تجاهل السمة setOwnedByMe
.
في حال عدم ضبط هذا الخيار، يتم عرض جميع المستندات، بما في ذلك المستندات المشترَكة، في طريقة العرض.
التوقيع
setOwnedByMe(me: boolean): DocsView;
التفاصيل
اختياري |
لا |
النهائي |
لا |
الحماية |
لا |
ثابت |
لا |
المعلمات
الاسم |
النوع |
اختياري |
الوصف |
me |
boolean |
لا |
|
المرتجعات
DocsView
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]