Class FieldThumbnailValue
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Represents a location field value
public sealed class FieldThumbnailValue : FieldValue, IFieldThumbnailValue, IFieldValue
- Inheritance
-
FieldThumbnailValue
- Implements
- Inherited Members
Constructors
FieldThumbnailValue()
Default constructor
public FieldThumbnailValue()
Properties
FileName
Filename identifiying this image
public string FileName { get; }
Property Value
ServerRelativeUrl
Server relative URL to access this image
public string ServerRelativeUrl { get; }
Property Value
ServerUrl
Server URL
public string ServerUrl { get; }
Property Value
ThumbnailRenderer
Thumbnail renderer
public object ThumbnailRenderer { get; }
Property Value
Methods
UploadImageAsync(IListItem, string, Stream)
Uploads an image to a modern image field for the current list item
public Task UploadImageAsync(IListItem item, string name, Stream content)