Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMediaImportService

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMediaImportService

    Methods

    View Source

    ImportAsync(string, Stream, Guid?, string?, Guid)

    Declaration
    Task<IMedia> ImportAsync(string fileName, Stream fileStream, Guid? parentId, string? mediaTypeAlias, Guid userKey)
    Parameters
    Type Name Description
    string fileName
    Stream fileStream
    Guid? parentId
    string mediaTypeAlias
    Guid userKey
    Returns
    Type Description
    Task<IMedia>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX