Share via


RemoteWeb.GetFileByServerRelativeUrl method

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

Syntax

'Declaration
Public Function GetFileByServerRelativeUrl ( _
    serverRelativeFileUrl As String _
) As File
'Usage
Dim instance As RemoteWeb
Dim serverRelativeFileUrl As String
Dim returnValue As File

returnValue = instance.GetFileByServerRelativeUrl(serverRelativeFileUrl)
public File GetFileByServerRelativeUrl(
    string serverRelativeFileUrl
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.File

See also

Reference

RemoteWeb class

RemoteWeb members

Microsoft.SharePoint.Client namespace