Show / Hide Table of Contents

Class PreviewResult

The preview result object

Inheritance
System.Object
PreviewResult
Inherited Members
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 PreviewResult

Constructors

| Improve this Doc View Source

PreviewResult(FileMetadata, MinimalFileLinkMetadata)

Initializes a new instance of the PreviewResult class.

Declaration
public PreviewResult(FileMetadata fileMetadata = null, MinimalFileLinkMetadata linkMetadata = null)
Parameters
Type Name Description
FileMetadata fileMetadata

Metadata corresponding to the file received as an argument. Will be populated if the endpoint is called with a path (ReadPath).

MinimalFileLinkMetadata linkMetadata

Minimal metadata corresponding to the file received as an argument. Will be populated if the endpoint is called using a shared link (SharedLinkFileInfo).

Properties

| Improve this Doc View Source

FileMetadata

Metadata corresponding to the file received as an argument. Will be populated if the endpoint is called with a path (ReadPath).

Declaration
public FileMetadata FileMetadata { get; protected set; }
Property Value
Type Description
FileMetadata
| Improve this Doc View Source

LinkMetadata

Minimal metadata corresponding to the file received as an argument. Will be populated if the endpoint is called using a shared link (SharedLinkFileInfo).

Declaration
public MinimalFileLinkMetadata LinkMetadata { get; protected set; }
Property Value
Type Description
MinimalFileLinkMetadata
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • PreviewResult(FileMetadata, MinimalFileLinkMetadata)
  • Properties
    • FileMetadata
    • LinkMetadata
Back to top Generated by DocFX