SPFile.SourceUIVersion property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("This member is obsolete.", False)> _
Public ReadOnly Property SourceUIVersion As Integer
    Get
'Usage
Dim instance As SPFile
Dim value As Integer

value = instance.SourceUIVersion
[ObsoleteAttribute("This member is obsolete.", false)]
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