Table of Contents

Class FileUploadEndpointParameters

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Defines parameters to Kentico.Forms.Web.Mvc.Internal.KenticoFormFileUploaderController.PostFile(int, string, string) endpoint for file upload from this form component.

public class FileUploadEndpointParameters
Inheritance
object
FileUploadEndpointParameters
Extension Methods

Constructors

FileUploadEndpointParameters(int, string, string)

Initializes new instance of FileUploadEndpointParameters class with given parameters.

public FileUploadEndpointParameters(int formId, string fieldName, string hash)

Parameters

formId int
fieldName string
hash string

Properties

FieldName

Identifies a form's field for which the file will be uploaded.

public string FieldName { get; }

Property Value

string

FormId

Identifies form for which the file will be uploaded.

public int FormId { get; }

Property Value

int

Hash

The hash value associating FormId and FieldName properties.

public string Hash { get; }

Property Value

string