Share via


Web.GetFileById method

This API element is only supported by SharePoint Online.

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

Syntax

'Declaration
Public Function GetFileById ( _
    uniqueId As Guid _
) As File
'Usage
Dim instance As Web
Dim uniqueId As Guid
Dim returnValue As File

returnValue = instance.GetFileById(uniqueId)
public File GetFileById(
    Guid uniqueId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.File

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace