Editar

Compartilhar via


HttpPostedFileBase.SaveAs(String) Method

Definition

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

public:
 virtual void SaveAs(System::String ^ filename);
public virtual void SaveAs (string filename);
abstract member SaveAs : string -> unit
override this.SaveAs : string -> unit
Public Overridable Sub SaveAs (filename As String)

Parameters

filename
String

The name of the file to save.

Exceptions

Applies to