Web.GetFileByServerRelativePath method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetFileByServerRelativePath ( _
serverRelativePath As ResourcePath _
) As File
'Usage
Dim instance As Web
Dim serverRelativePath As ResourcePath
Dim returnValue As File
returnValue = instance.GetFileByServerRelativePath(serverRelativePath)
public File GetFileByServerRelativePath(
ResourcePath serverRelativePath
)
Parameters
- serverRelativePath
Type: Microsoft.SharePoint.Client.ResourcePath
Return value
Type: Microsoft.SharePoint.Client.File