HttpPostedFileBase.SaveAs(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Always.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET