SPContext.FileLevel property
SharePoint 2013
Gets the representation of the version of the file or ASP.Net page.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.SPFileLevelReturns an SPFileLevel object that represents the version of the file or ASP.Net page file within the request context.