با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
شناسه های فایل موجود در نما را تنظیم می کند.
این تنظیم را با setEnableDrives یا setParent ترکیب نکنید. تماسهای این تابع، تماسهای قبلی با setEnableDrives یا setParent را لغو میکند.
امضا
setFileIds(fileIds:string):DocsView;
جزئیات
اختیاری
خیر
نهایی
خیر
محافظت شده است
خیر
استاتیک
خیر
پارامترها
نام
تایپ کنید
اختیاری
توضیحات
fileIds
string
خیر
رشته ای از شناسه های فایل در صورت تنظیم بیش از یک شناسه از کاما برای جدا کردن شناسه فایل استفاده کنید. اگر شناسه فایل فایلی را وارد کنید که کاربر به آن دسترسی ندارد، فایل از نمایش حذف میشود.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Method DocsView.setFileIds\n\nSets the file IDs included in the view.\n\nDon't combine this setting with `setEnableDrives` or `setParent`. Calls to this\nfunction override previous calls to `setEnableDrives` or `setParent`.\n\nSignature\n---------\n\n setFileIds(fileIds: string): DocsView;\n\nDetails\n-------\n\n| Optional | No |\n| Final | No |\n| Protected | No |\n| Static | No |\n|-----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|-----------|----------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `fileIds` | `string` | No | A string of file IDs. Use commas to separate file IDs if setting more than one. If you include the file ID of a file that the user doesn't have access to, the file is excluded from the view. |\n\nReturns\n-------\n\n[DocsView](./picker.docsview)"]]