Search Results for

    Show / Hide Table of Contents

    Class FieldThumbnailValue

    Represents a location field value

    Inheritance
    System.Object
    FieldValue
    FieldThumbnailValue
    Inherited Members
    FieldValue.Field
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public sealed class FieldThumbnailValue : FieldValue, IFieldThumbnailValue, IFieldValue

    Constructors

    FieldThumbnailValue()

    Default constructor

    Declaration
    public FieldThumbnailValue()

    Properties

    FileName

    Filename identifiying this image

    Declaration
    public string FileName { get; }
    Property Value
    System.String

    Implements
    IFieldThumbnailValue.FileName

    ServerRelativeUrl

    Server relative URL to access this image

    Declaration
    public string ServerRelativeUrl { get; }
    Property Value
    System.String

    Implements
    IFieldThumbnailValue.ServerRelativeUrl

    ServerUrl

    Server URL

    Declaration
    public string ServerUrl { get; }
    Property Value
    System.String

    Implements
    IFieldThumbnailValue.ServerUrl

    ThumbnailRenderer

    Thumbnail renderer

    Declaration
    public object ThumbnailRenderer { get; }
    Property Value
    System.Object

    Implements
    IFieldThumbnailValue.ThumbnailRenderer

    Methods

    UploadImageAsync(IListItem, String, Stream)

    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
    Task

    Implements
    IFieldThumbnailValue.UploadImageAsync(IListItem, String, Stream)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer