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