SPFile.SourceUIVersion Property

Gets the version number of the parent document for the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property SourceUIVersion As Integer
    Get
'Usage
Dim instance As SPFile
Dim value As Integer

value = instance.SourceUIVersion
public int SourceUIVersion { get; }

Property Value

Type: System.Int32
A 32-bit integer that indicates the version number, or -1 if the document does not have a parent.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace