Table of Contents

Interface IFieldThumbnailValue

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

Represents a image (thumbnail) field value

public interface IFieldThumbnailValue : IFieldValue
Inherited Members

Properties

FileName

Filename identifiying this image

string FileName { get; }

Property Value

string

ServerRelativeUrl

Server relative URL to access this image

string ServerRelativeUrl { get; }

Property Value

string

ServerUrl

Server URL

string ServerUrl { get; }

Property Value

string

ThumbnailRenderer

Thumbnail renderer

object ThumbnailRenderer { get; }

Property Value

object

Methods

UploadImageAsync(IListItem, string, Stream)

Uploads an image to a modern image field for the current list item

Task UploadImageAsync(IListItem item, string name, Stream content)

Parameters

item IListItem

List item to update

name string

Image name

content Stream

The content of the file.

Returns

Task