Cuemon .NET Framework
FromConvertibles<T>(T) Method

The System.IConvertible value to convert.
Converts the specified value to an array of bytes.
Public Overloads Shared Function FromConvertibles(Of T As {New, IConvertible, Struct})( _
   ByVal value As T _
) As Byte()
public static byte[] FromConvertibles<T>( 
   T value
where T: new(), IConvertible, struct


The System.IConvertible value to convert.

Type Parameters


Return Value

An array of bytes equivalent to the data of the value.
System.ArgumentOutOfRangeExceptionvalue is outside the range of allowed types.
Allowed types are: System.Boolean, System.Char, System.Double, System.Int16, System.Int32, System.UInt16, System.UInt32 and System.UInt64.

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


ByteConverter Class
ByteConverter Members
Overload List



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback