EAPUtilIsFileValidateAcceptType Method |
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool IsFileValidateAcceptType(
HttpPostedFile postedFile,
string accept
)
Public Shared Function IsFileValidateAcceptType (
postedFile As HttpPostedFile,
accept As String
) As Boolean
Parameters
- postedFile
- Type: System.WebHttpPostedFile
The posted-back file. - accept
- Type: SystemString
The acceptable file types, comma separated if multiple. If blank/null all types are considered acceptable.
Return Value
Type:
BooleanTrue if the posted file is an acceptable type or null, else false.
See Also