MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
Conversion Class
NamespacesMPfm.CoreConversion
The Conversion class contains static functions that convert objects into different formats.
Declaration Syntax
C#Visual Basic
public class Conversion
Public Class Conversion
Members
All MembersConstructorsMethods



IconMemberDescription
Conversion()()()()
Initializes a new instance of the Conversion class

ByteArrayToBitmap(array<Byte>[]()[][])
The ByteArrayToBitmap static function converts a byte array into a Bitmap object.

ByteArrayToInt(array<Byte>[]()[][])
The ByteArrayToInt static function converts a 4 dimension byte array into a 32-bit integer.

ByteArrayToString(array<Byte>[]()[][])
The ByteArrayToString static function converts a byte array into a string.

DateTimeToMillisecondsSince1970(DateTime)
Converts a DateTime structure into a UNIX date format (number of milliseconds since 1970).

DateTimeToUnixTimestamp(DateTime)
Returns the number of seconds (with double precision) since 1970 of a DateTime. Also called Unix timestamp.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMilliseconds(Int32)
Returns the fractionary number of milliseconds from absolute milliseconds.

GetMinutes(Int32)
Returns the fractionary number of minutes from absolute milliseconds.

GetSeconds(Int32)
Returns the fractionary number of seconds from absolute milliseconds.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImageToByteArray(Image, ImageFormat)
The ImageToByteArray static function converts an Image object into a byte array.

IntToByteArray(Int32)
The IntToByteArray static function converts a 32-bit integer into a byte array.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MillisecondsToTempo(Int32)
Converts milliseconds to a tempo (beats per minute)

MillisecondsToTimeString(UInt64)
The MillisecondsToTimeString static functions converts a time in milliseconds into a string displaying the time in the following format: 0:00.000

StringToByteArray(String)
The StringToByteArray static function converts a string into a byte array.

TempoToMilliseconds(Double)
Converts a tempo (beats per minute) into milliseconds.

TimeSpanToTimeString(TimeSpan)
Converts a TimeSpan to a time string (0:00.000 format).

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TryParse<(Of <<'(T>)>>)(String)
Parses a string and converts the value into a specific type. Inspired from a post on Stack Overflow: http://stackoverflow.com/questions/569249/methodinfo-invoke-with-out-parameter

Inheritance Hierarchy
Object
Conversion

Assembly: MPfm.Core (Module: MPfm.Core) Version: 0.5.3.0 (0.5.3.0)