Compartilhar via


SP.File.majorVersion Property

Applies to: SharePoint Foundation 2010

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

var value = SP.File.get_majorVersion(); 

Property Value

Type: Int32

Applies To

SP.File Class

Exceptions

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

See Also

Reference

SP.File Methods

SP.File Properties

SP Namespace