Class FolderMetadata
The folder metadata object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class FolderMetadata : Metadata
Constructors
| Improve this Doc View SourceFolderMetadata(String, String, String, String, String, String, String, FolderSharingInfo, IEnumerable<PropertyGroup>)
Initializes a new instance of the FolderMetadata class.
Declaration
public FolderMetadata(string name, string id, string pathLower = null, string pathDisplay = null, string parentSharedFolderId = null, string previewUrl = null, string sharedFolderId = null, FolderSharingInfo sharingInfo = null, IEnumerable<PropertyGroup> propertyGroups = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The last component of the path (including extension). This never contains a slash. |
System.String | id | A unique identifier for the folder. |
System.String | pathLower | The lowercased full path in the user's Dropbox. This always starts with a slash. This field will be null if the file or folder is not mounted. |
System.String | pathDisplay | The cased path to be used for display purposes only. In rare instances the casing will not correctly match the user's filesystem, but this behavior will match the path provided in the Core API v1, and at least the last path component will have the correct casing. Changes to only the casing of paths won't be returned by ListFolderContinueAsync(ListFolderContinueArg) ListFolderContinueAsync(ListFolderContinueArg). This field will be null if the file or folder is not mounted. |
System.String | parentSharedFolderId | Please use ParentSharedFolderId or ParentSharedFolderId instead. |
System.String | previewUrl | The preview URL of the file. |
System.String | sharedFolderId | Please use |
FolderSharingInfo | sharingInfo | Set if the folder is contained in a shared folder or is a shared folder mount point. |
System.Collections.Generic.IEnumerable<PropertyGroup> | propertyGroups | Additional information if the file has custom properties with the property template specified. Note that only properties associated with user-owned templates, not team-owned templates, can be attached to folders. |
Properties
| Improve this Doc View SourceId
A unique identifier for the folder.
Declaration
public string Id { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
PropertyGroups
Additional information if the file has custom properties with the property template specified. Note that only properties associated with user-owned templates, not team-owned templates, can be attached to folders.
Declaration
public IList<PropertyGroup> PropertyGroups { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<PropertyGroup> |
SharedFolderId
Please use SharingInfo instead.
Declaration
public string SharedFolderId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
SharingInfo
Set if the folder is contained in a shared folder or is a shared folder mount point.
Declaration
public FolderSharingInfo SharingInfo { get; protected set; }
Property Value
Type | Description |
---|---|
FolderSharingInfo |