Share via


RemoteWeb.GetFileByServerRelativePath method

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

Syntax

'Declaration
Public Function GetFileByServerRelativePath ( _
    serverRelatvieFilePath As ResourcePath _
) As File
'Usage
Dim instance As RemoteWeb
Dim serverRelatvieFilePath As ResourcePath
Dim returnValue As File

returnValue = instance.GetFileByServerRelativePath(serverRelatvieFilePath)
public File GetFileByServerRelativePath(
    ResourcePath serverRelatvieFilePath
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.File

See also

Reference

RemoteWeb class

RemoteWeb members

Microsoft.SharePoint.Client namespace