ISharePointFileServiceGetFile Method |
Gets SharePoint file identified by server relative URL.
The file may be loaded eagerly or lazily (depends on implementation). In such case an invalid serverRelativeUrl is not reported immediately.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.2.23
Syntax ISharePointFile GetFile(
string serverRelativeUrl
)
Parameters
- serverRelativeUrl
- Type: SystemString
Server relative URL
Return Value
Type:
ISharePointFileSharePoint file, or null
Exceptions See Also