Dropbox .NET SDK
Show / Hide Table of Contents

Class GetMetadataArgs

Arguments for the asynchronous `get_metadata_async` route. Exactly one of `file_id`, `path`, or `url` must be supplied via `file_id_or_url` to identify the file whose metadata should be extracted.

Inheritance
object
GetMetadataArgs
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class GetMetadataArgs

Constructors

View Source

GetMetadataArgs(FileIdOrUrl)

Initializes a new instance of the GetMetadataArgs class.

Declaration
public GetMetadataArgs(FileIdOrUrl fileIdOrUrl = null)
Parameters
Type Name Description
FileIdOrUrl fileIdOrUrl

Identifier of the file to extract metadata from. Callers must set exactly one of the FileIdOrUrl variants. The kind of metadata returned is determined by the file type: image files return EXIF metadata, audio/video files return media metadata, PDFs return PDF metadata, and MS Office documents (docx, pptx, xlsx) return Office metadata. See the route description for the supported formats. Requests against unsupported formats return unsupported_format_error.

Properties

View Source

FileIdOrUrl

Identifier of the file to extract metadata from. Callers must set exactly one of the `FileIdOrUrl` variants. The kind of metadata returned is determined by the file type: image files return EXIF metadata, audio/video files return media metadata, PDFs return PDF metadata, and MS Office documents (docx, pptx, xlsx) return Office metadata. See the route description for the supported formats. Requests against unsupported formats return `unsupported_format_error`.

Declaration
public FileIdOrUrl FileIdOrUrl { get; protected set; }
Property Value
Type Description
FileIdOrUrl
  • View Source
In this article
Back to top Dropbox .NET SDK