Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpPostedFileBase.SaveAs Method

When overridden in a derived class, saves the contents of an uploaded file.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

abstract SaveAs : 
        filename:string -> unit  
override SaveAs : 
        filename:string -> unit

Parameters

filename
Type: System.String

The name of the file to save.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft