SPMobileUtility.IsFileUploadSupported method
Returns a value that indicates whether a mobile device can upload files according to the specified capabilities object.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsFileUploadSupported ( _
capabilities As HttpCapabilitiesBase _
) As Boolean
'Usage
Dim capabilities As HttpCapabilitiesBase
Dim returnValue As Boolean
returnValue = SPMobileUtility.IsFileUploadSupported(capabilities)
public static bool IsFileUploadSupported(
HttpCapabilitiesBase capabilities
)
Parameters
capabilities
Type: System.Web.Configuration.HttpCapabilitiesBaseInformation about the capabilities of a browser or device.
Return value
Type: System.Boolean
true if the capabilities indicate that files can be uploaded; otherwise false.