Class FieldThumbnailValue
Represents a location field value
Inheritance
System.Object
FieldThumbnailValue
Assembly: PnP.Core.dll
Syntax
public sealed class FieldThumbnailValue : FieldValue, IFieldThumbnailValue, IFieldValue
Constructors
Declaration
public FieldThumbnailValue()
Properties
Filename identifiying this image
Declaration
public string FileName { get; }
Property Value
Implements
Server relative URL to access this image
Declaration
public string ServerRelativeUrl { get; }
Property Value
Implements
Declaration
public string ServerUrl { get; }
Property Value
Implements
Declaration
public object ThumbnailRenderer { get; }
Property Value
Implements
Methods
Uploads an image to a modern image field for the current list item
Declaration
public async Task UploadImageAsync(IListItem item, string name, Stream content)
Parameters
IListItem
item
List item to update
|
System.String
name
Image name
|
Stream
content
The content of the file.
|
Returns
Implements