In This Article

IDocumentReference Interface

Provides the base requirements for a document reference.

public interface IDocumentReference

Properties

Description

Gets or sets the optional description of the document.

string Description { get; set; }

Property Value

string:

The optional description of the document.

Remarks

For a file, this can be a general file type description or a more display-oriented version of its location.

ImageSourceLarge

Gets or sets the optional large ImageSource for the document.

ImageSource ImageSourceLarge { get; set; }

Property Value

ImageSource:

The optional large ImageSource for the document.

Remarks

This property can be used by UI that represents the document.

ImageSourceSmall

Gets or sets the optional small ImageSource for the document.

ImageSource ImageSourceSmall { get; set; }

Property Value

ImageSource:

The optional small ImageSource for the document.

Remarks

This property can be used by UI that represents the document.

IsPinnedRecentDocument

Gets or sets whether the document is pinned on the recent document list.

bool IsPinnedRecentDocument { get; set; }

Property Value

bool:

true if the document is pinned on the recent document list; otherwise, false.

LastOpenedDateTime

Gets or sets a DateTime indicating when the document was last opened.

DateTime LastOpenedDateTime { get; set; }

Property Value

DateTime:

A DateTime indicating when the document was last opened.

Location

Gets or sets a System.Uri indicating the location of the document.

Uri Location { get; set; }

Property Value

Uri:

A System.Uri indicating the location of the document.

Remarks

For a file, this is typically the full path to the file, including filename.

Name

Gets or sets the name of the document.

string Name { get; set; }

Property Value

string:

The name of the document.

Remarks

For a file, this is typically the filename (including extension) but without path.

Tag

Gets or sets an arbitrary object value that can be used to store custom information about this document reference.

object Tag { get; set; }

Property Value

object:

The intended value. This property has no default value.