Office .NET Class Library
Show/Hide TOC

# CompoundFileMajorVersion Property

Gets or sets major version. Allowed values are 3 (512 bytes sector size) or 4 (4096 bytes sector size).

## Definition

Namespace: Independentsoft.IO.StructuredStorage
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public int MajorVersion { get; set; }

VB

    Public Property MajorVersion As Integer
    	Get
    	Set

#### Property Value

Int32

## See Also

#### Reference

CompoundFile Class
Independentsoft.IO.StructuredStorage Namespace