NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlInputFile.Accept

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);

Property Value

The comma-separated list of MIME encodings.

See Also

HtmlInputFile Class | HtmlInputFile Members | System.Web.UI.HtmlControls Namespace