Share via


Web.GetFileByUrl method

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

Syntax

'Declaration
Public Function GetFileByUrl ( _
    fileUrl As String _
) As File
'Usage
Dim instance As Web
Dim fileUrl As String
Dim returnValue As File

returnValue = instance.GetFileByUrl(fileUrl)
public File GetFileByUrl(
    string fileUrl
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.File

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace