WebImage.GetImageFromRequest(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.
Returns an image that has been uploaded using the browser.
public static System.Web.Helpers.WebImage GetImageFromRequest (string postedFileName = default);
static member GetImageFromRequest : string -> System.Web.Helpers.WebImage
Public Shared Function GetImageFromRequest (Optional postedFileName As String = null) As WebImage
Parameters
- postedFileName
- String
(Optional) The name of the file that has been posted. If no file name is specified, the first file that was uploaded is returned.
Returns
The image.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for