Click or drag to resize

FilesUserRoutesGetMetadataAsync Method (String, Boolean, Boolean, Boolean, TemplateFilterBase)

Returns the metadata for a file or folder.

Note: Metadata for the root folder is unsupported.

Namespace:  Dropbox.Api.Files.Routes
Assembly:  Dropbox.Api (in Dropbox.Api.dll) Version: 5.0
public Task<Metadata> GetMetadataAsync(
	string path,
	bool includeMediaInfo = false,
	bool includeDeleted = false,
	bool includeHasExplicitSharedMembers = false,
	TemplateFilterBase includePropertyGroups = null


Type: SystemString
The path of a file or folder on Dropbox.
includeMediaInfo (Optional)
Type: SystemBoolean
If true, MediaInfo is set for photo and video.
includeDeleted (Optional)
Type: SystemBoolean
If true, DeletedMetadata will be returned for deleted file or folder, otherwise LookupErrorNotFound will be returned.
includeHasExplicitSharedMembers (Optional)
Type: SystemBoolean
If true, the results will include a flag for each file indicating whether or not that file has any explicit members.
includePropertyGroups (Optional)
Type: Dropbox.Api.FilePropertiesTemplateFilterBase
If set to a valid list of template IDs, PropertyGroups is set if there exists property data associated with the file and each of the listed templates.

Return Value

Type: TaskMetadata
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server.
See Also