Share via


File.MinorVersion property

Gets a value that specifies the minor version of the file.

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

Syntax

'Declaration
Public ReadOnly Property MinorVersion As Integer
    Get
'Usage
Dim instance As File
Dim value As Integer

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

Property value

Type: System.Int32
Returns a Int32 instance representing the minor version of the file.

Exceptions

Exception Condition
[System.ArgumentException]

Version information is missing, invalid, or could not be retrieved. Error code: -2147024809.

[System.IO.FileNotFoundException]

File cannot be found. Error code: - 2147024894.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

See also

Reference

File class

File members

Microsoft.SharePoint.Client namespace