C# Класс TagLib.IFD.Entries.Rational

Representation of an unsigned rational value
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Rational ( uint numerator, uint denominator ) : System

Creates a new Rational value

Reduce ( ) : Rational

Returns a rational value with reduced nominator and denominator

ToString ( ) : string

Converts the value to a System.String.

ToString ( string format, IFormatProvider provider ) : string

Formatprovider to allow formatting of a value. IFormattable

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

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

Creates a new Rational value
public Rational ( uint numerator, uint denominator ) : System
numerator uint /// A with the numerator of the /// rational value ///
denominator uint /// A with the denominator of the /// rational value. It must be not 0. ///
Результат System

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

Returns a rational value with reduced nominator and denominator
public Reduce ( ) : Rational
Результат Rational

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

Converts the value to a System.String.
public ToString ( ) : string
Результат string

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

Formatprovider to allow formatting of a value. IFormattable
public ToString ( string format, IFormatProvider provider ) : string
format string /// A . ///
provider IFormatProvider /// A . ///
Результат string