C# Класс PicoXLSX.Metadata

Class representing the meta data of a workbook
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Metadata ( ) : System

Default constructor

ParseVersion ( int major, int minor, int build, int revision ) : string

Method to parse a common version (major.minor.revision.build) into the compatible format (major.minor). The minimum value is 0.0 and the maximum value is 99999.99999

The minor, revision and build number are joined if possible. If the number is to long, the additional characters will be removed from the right side down to five characters (e.g. 785563 will be 78556)

Приватные методы

Метод Описание
CheckVersion ( ) : void

Checks the format of the passed version string

Описание методов

Metadata() публичный Метод

Default constructor
public Metadata ( ) : System
Результат System

ParseVersion() публичный статический Метод

Method to parse a common version (major.minor.revision.build) into the compatible format (major.minor). The minimum value is 0.0 and the maximum value is 99999.99999

The minor, revision and build number are joined if possible. If the number is to long, the additional characters will be removed from the right side down to five characters (e.g. 785563 will be 78556)
Throws a FormatException if the major number is to long or one of the numbers is negative
public static ParseVersion ( int major, int minor, int build, int revision ) : string
major int Major number from 0 to 99999
minor int Minor number
build int Build number
revision int Revision number
Результат string