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
- serverRelativeFileUrl
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.File