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: 10.0.0
Syntax ISharePointFile GetFile(
string serverRelativeUrl
)
Parameters
- serverRelativeUrl
- Type: SystemString
Server relative URL
Return Value
Type:
ISharePointFileSharePoint file, or null
Exceptions See Also