Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileInfo - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FileInfo

    Inheritance
    System.Object
    FileInfo
    Implements
    System.IEquatable<FileInfo>
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileInfo : Object, IEquatable<FileInfo>

    Constructors

    FileInfo()

    Declaration
    public FileInfo()

    Properties

    FileSource

    Returns where the file selected from, to upload.

    Declaration
    public string FileSource { get; set; }
    Property Value
    Type Description
    System.String

    Id

    Returns the unique upload file name ID.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    Input

    Returns the input element mapped with file list item.

    Declaration
    public DOM Input { get; set; }
    Property Value
    Type Description
    DOM

    List

    Returns the respective file list item.

    Declaration
    public DOM List { get; set; }
    Property Value
    Type Description
    DOM

    Name

    Returns the upload file name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    RawFile

    Returns the details about upload file.

    Declaration
    public object RawFile { get; set; }
    Property Value
    Type Description
    System.Object

    Size

    Returns the size of file in bytes.

    Declaration
    public double Size { get; set; }
    Property Value
    Type Description
    System.Double

    Status

    Returns the status of the file.

    Declaration
    public string Status { get; set; }
    Property Value
    Type Description
    System.String

    StatusCode

    Returns the current state of the file such as Failed, Canceled, Selected, Uploaded, or Uploading.

    Declaration
    public string StatusCode { get; set; }
    Property Value
    Type Description
    System.String

    Type

    Returns the MIME type of file as a string. Returns empty string if the file’s type is not determined.

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    System.String

    ValidationMessages

    Returns the list of validation errors (if any).

    Declaration
    public ValidationMessages ValidationMessages { get; set; }
    Property Value
    Type Description
    ValidationMessages

    Methods

    Equals(FileInfo)

    Declaration
    public bool Equals(FileInfo fileInfo)
    Parameters
    Type Name Description
    FileInfo fileInfo
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved