Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContext.FileLevel property

Gets the representation of the version of the file or ASP.Net page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public SPFileLevel FileLevel { get; }

Property value

Type: Microsoft.SharePoint.SPFileLevel
Returns an SPFileLevel object that represents the version of the file or ASP.Net page file within the request context.

If a version of the file or ASP.NET page file exists, either as ghosted or unghosted, then its version is used. Otherwise, the default value of the FileLevel is Published.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.