SPMobileUtility.IsFileUploadSupported method
傳回值,指出行動裝置是否可以上載檔案,根據指定的功能物件。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsFileUploadSupported ( _
capabilities As HttpCapabilitiesBase _
) As Boolean
'用途
Dim capabilities As HttpCapabilitiesBase
Dim returnValue As Boolean
returnValue = SPMobileUtility.IsFileUploadSupported(capabilities)
public static bool IsFileUploadSupported(
HttpCapabilitiesBase capabilities
)
參數
capabilities
Type: System.Web.Configuration.HttpCapabilitiesBase瀏覽器或裝置的功能的相關資訊。
傳回值
Type: System.Boolean
true如果功能可讓您指出就可以上載檔案。否則false。