Gets or sets a comma-separated list of MIME encodings that can be used to constrain the file types that the browser lets the user select. For example, to restrict the selection to images, the accept value "image/*" should be specified.
[Visual Basic] Public Property Accept As String [C#] public string Accept {get; set;} [C++] public: __property String* get_Accept(); public: __property void set_Accept(String*); [JScript] public function get Accept() : String; public function set Accept(String);
The comma-separated list of MIME encodings.
HtmlInputFile Class | HtmlInputFile Members | System.Web.UI.HtmlControls Namespace