Share via


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

Return value

Type: System.Boolean
true if the capabilities indicate that files can be uploaded; otherwise false.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace