IDocumentReference Interface
Provides the base requirements for a document reference.
public interface IDocumentReference
Properties
Description
The optional description of the document.
string? Description { get; set; }
Property Value
Remarks
For a file, this can be a general file type description or a more display-oriented version of its location.
ImageSourceLarge
The optional large ImageSource for the document.
ImageSource? ImageSourceLarge { get; set; }
Property Value
Remarks
This property can be used by UI that represents the document.
ImageSourceSmall
The optional small ImageSource for the document.
ImageSource? ImageSourceSmall { get; set; }
Property Value
Remarks
This property can be used by UI that represents the document.
IsPinnedRecentDocument
Indicates whether the document is pinned on the recent document list.
bool IsPinnedRecentDocument { get; set; }
Property Value
- bool:
trueif the document is pinned on the recent document list; otherwise,false.
LastOpenedDateTime
A DateTime indicating when the document was last opened.
Location
A System.Uri indicating the location of the document.
Uri? Location { get; set; }
Property Value
- Uri
Remarks
For a file, this is typically the full path to the file, including filename.
Name
The name of the document.
string? Name { get; set; }
Property Value
Remarks
For a file, this is typically the filename (including extension) but without path.
Tag
An arbitrary object value that can be used to store custom information about this document reference.