Click or drag to resize
Galactic API

SharePointClientGetFileByUrl Method

Gets a File object representing a file on the SharePoint server with the specified relative URL.

Namespace:  Galactic.SharePoint
Assembly:  Galactic.SharePoint (in Galactic.SharePoint.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public File GetFileByUrl(
	string relativeUrl
)

Parameters

relativeUrl
Type: SystemString
The relative URL of the file to retrieve from the base of the web application containing it.

Return Value

Type: File
The File object representing the file at the specified URL or null if it does not exist or otherwise couldn't be retrieved.
See Also