次の方法で共有


SPMobileUtility.GetImageSizeFromUri method

Gets the size in Kbytes of the image file at the specified path.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetImageSizeFromUri ( _
    imagePath As String _
) As Integer
'Usage
Dim imagePath As String
Dim returnValue As Integer

returnValue = SPMobileUtility.GetImageSizeFromUri(imagePath)
public static int GetImageSizeFromUri(
    string imagePath
)

Parameters

Return value

Type: System.Int32
The size of the image in Kbytes.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace