WebImage.GetImageFromRequest(String) Method

Definition

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