PowerWEB File Upload for ASP.NET
MaxFileSize Property
See Also  Send comments on this topic.
Dart.FileUpload Namespace > UploadManager Class : MaxFileSize Property



The maximum individual file size allowed (in kilobytes).

Syntax

Visual Basic (Declaration) 
<DartDescriptionAttribute("The maximum individual file size allowed (in kilobytes).  When set to 0, all file sizes are allowed, up to the limit imposed by ASP.NET.")>
<DefaultValueAttribute()>
Public Property MaxFileSize As Long
Visual Basic (Usage)Copy Code
Dim instance As UploadManager
Dim value As Long
 
instance.MaxFileSize = value
 
value = instance.MaxFileSize
C# 
[DartDescriptionAttribute("The maximum individual file size allowed (in kilobytes).  When set to 0, all file sizes are allowed, up to the limit imposed by ASP.NET.")]
[DefaultValueAttribute()]
public long MaxFileSize {get; set;}
C++/CLI 
[DartDescriptionAttribute("The maximum individual file size allowed (in kilobytes).  When set to 0, all file sizes are allowed, up to the limit imposed by ASP.NET.")]
[DefaultValueAttribute()]
public:
property int64 MaxFileSize {
   int64 get();
   void set (    int64 value);
}

Property Value

The default value is 0.

Remarks

When set to 0, all file sizes are allowed, up to the limit imposed by ASP.NET.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.3
© 2012 Dart Communications. All Rights Reserved.