Class PreviewResult
The preview result object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class PreviewResult
Constructors
View SourcePreviewResult(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
View SourceFileMetadata
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 |
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 |