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



A collection of file extensions to globally allow. For example, 'jpg' or 'gif'.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("Dart.FileUpload.StringArrayConverter, Dart.FileUpload, Version=4.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb")>
<DartDescriptionAttribute("A collection of file extensions to globally allow. For example, 'jpg' or 'gif'.
When using Flash upload type, this filter will be enforced by the file dialog as defined by the FilterExtension property of the Upload and OpenFileDialog controls.")>
Public Property Extensions As String()
Visual Basic (Usage)Copy Code
Dim instance As UploadManager
Dim value() As String
 
instance.Extensions = value
 
value = instance.Extensions
C# 
[TypeConverterAttribute("Dart.FileUpload.StringArrayConverter, Dart.FileUpload, Version=4.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DartDescriptionAttribute("A collection of file extensions to globally allow. For example, 'jpg' or 'gif'.
When using Flash upload type, this filter will be enforced by the file dialog as defined by the FilterExtension property of the Upload and OpenFileDialog controls.")]
public string[] Extensions {get; set;}
C++/CLI 
[TypeConverterAttribute("Dart.FileUpload.StringArrayConverter, Dart.FileUpload, Version=4.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb")]
[DartDescriptionAttribute("A collection of file extensions to globally allow. For example, 'jpg' or 'gif'.
When using Flash upload type, this filter will be enforced by the file dialog as defined by the FilterExtension property of the Upload and OpenFileDialog controls.")]
public:
property array<String^>^ Extensions {
   array<String^>^ get();
   void set (    array<String^>^ value);
}

Remarks

When using Flash upload type, this filter will be enforced by the file dialog as defined by the Upload.FilterExtension property of the Upload control.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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