Show / Hide Table of Contents

Class FolderMetadata

The folder metadata object

Inheritance
System.Object
Metadata
FolderMetadata
Inherited Members
Metadata.IsFile
Metadata.AsFile
Metadata.IsFolder
Metadata.AsFolder
Metadata.IsDeleted
Metadata.AsDeleted
Metadata.Name
Metadata.PathLower
Metadata.PathDisplay
Metadata.ParentSharedFolderId
Metadata.PreviewUrl
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class FolderMetadata : Metadata

Constructors

| Improve this Doc View Source

FolderMetadata(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 sharingInfo instead.

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 Source

Id

A unique identifier for the folder.

Declaration
public string Id { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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>
| Improve this Doc View Source

SharedFolderId

Please use SharingInfo instead.

Declaration
public string SharedFolderId { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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

See Also

CreateFolderEntryResult
CreateFolderResult
DownloadZipResult
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FolderMetadata(String, String, String, String, String, String, String, FolderSharingInfo, IEnumerable<PropertyGroup>)
  • Properties
    • Id
    • PropertyGroups
    • SharedFolderId
    • SharingInfo
  • See Also
Back to top Generated by DocFX