Table of Contents

Class UploadAssetsCommandArguments

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Upload assets command arguments.

[Obsolete("Media libraries and their APIs are obsolete and will be discontinued in the future. Please migrate all media library files to Content hub and use their corresponding content item APIs.")]
public sealed class UploadAssetsCommandArguments
Inheritance
object
UploadAssetsCommandArguments
Extension Methods

Constructors

UploadAssetsCommandArguments()

public UploadAssetsCommandArguments()

Properties

AllowedExtensions

Defines allowed file extensions to be returned.

public string AllowedExtensions { get; set; }

Property Value

string

Remarks

Empty string allows all file extensions to be returned.

Assets

Uploaded assets.

[BindUploadedFiles]
public IUploadedFilesCollection Assets { get; set; }

Property Value

IUploadedFilesCollection

FolderPath

Path of the folder to upload the assets to.

public string FolderPath { get; set; }

Property Value

string

LibraryIdentifier

Identifier of the library to upload the assets to.

public int LibraryIdentifier { get; set; }

Property Value

int