HtmlInputFile.MaxLength Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum length of the file path for the file to upload from the client computer.
public:
property int MaxLength { int get(); void set(int value); };
public int MaxLength { get; set; }
member this.MaxLength : int with get, set
Public Property MaxLength As Integer
The maximum length of the file path. The default value is -1, which indicates that the property has not been set.
Use this property to specify a limit for the number of characters that can be entered for the path to the file to upload.
Napomena
Support for this property is browser-dependent. Check your browser to determine whether it supports this property.
Proizvod | Verzije |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: