Table of Contents

Interface IUnfurledResource

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Defines the data coming back from unfurling a link

public interface IUnfurledResource

Properties

FileDriveId

Graph Drive Id of the resource (if it's a file)

string FileDriveId { get; }

Property Value

string

FileDriveItemId

Graph DriveItem id of the resource (if it's a file)

string FileDriveItemId { get; }

Property Value

string

FileUniqueId

Unique ID of the resource (if it's a file)

Guid FileUniqueId { get; }

Property Value

Guid

LastModified

When was the resource last modified

DateTime LastModified { get; }

Property Value

DateTime

LastModifiedBy

Who last modified the resource

string LastModifiedBy { get; }

Property Value

string

LinkType

Type of resource that the unfurled link is referring to

UnfurlLinkType LinkType { get; }

Property Value

UnfurlLinkType

ListDisplayName

Display name of the parent list of the resource

string ListDisplayName { get; }

Property Value

string

ListId

Id of the parent list of the resource

Guid ListId { get; }

Property Value

Guid

ListItemId

ListItem id of the resource (if it's a file, listitem or page)

int ListItemId { get; }

Property Value

int

ListUrl

Url of the parent list of the resource

Uri ListUrl { get; }

Property Value

Uri

Name

Name of the resource

string Name { get; }

Property Value

string

Resource

SharePoint resource url for the unfurled link

Uri Resource { get; }

Property Value

Uri

SiteId

Id of the site collection containing the unfurled resource

Guid SiteId { get; }

Property Value

Guid

Size

Size of the resource (if it's a file or page)

long Size { get; }

Property Value

long

Thumbnails

Thumbnails of the resource (only for files at the moment)

List<IThumbnail> Thumbnails { get; }

Property Value

List<IThumbnail>

WebId

Id of the web containing the unfurled resource

Guid WebId { get; }

Property Value

Guid

WebUrl

Url of the web containing the unfurled resource

Uri WebUrl { get; }

Property Value

Uri