Search Results for

    Show / Hide Table of Contents

    Interface IFieldThumbnailValue

    Represents a image (thumbnail) field value

    Inherited Members
    IFieldValue.Field
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IFieldThumbnailValue : IFieldValue

    Properties

    FileName

    Filename identifiying this image

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

    ServerRelativeUrl

    Server relative URL to access this image

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

    ServerUrl

    Server URL

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

    ThumbnailRenderer

    Thumbnail renderer

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

    Methods

    UploadImageAsync(IListItem, String, Stream)

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

    Declaration
    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

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer