ImageMan.Net Version 3 Summer 2012 Release
GetBytes(DateTime,Boolean) Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > ExifBitConverter Class > GetBytes Method : GetBytes(DateTime,Boolean) Method





value
hastime

Glossary Item Box

Converts the given datetime to an array of bytes with a null terminator.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetBytes( _
   ByVal value As System.Date, _
   ByVal hastime As System.Boolean _
) As System.Byte()
Visual Basic (Usage)Copy Code
Dim value As System.Date
Dim hastime As System.Boolean
Dim value() As System.Byte
 
value = ExifBitConverter.GetBytes(value, hastime)
C# 
public static System.byte[] GetBytes( 
   System.DateTime value,
   System.bool hastime
)
JScript 
public static function GetBytes( 
   value : System.DateTime,
   hastime : System.boolean
) : System.byte[];
Managed Extensions for C++ 
public: static System.byte[]* GetBytes( 
   System.DateTime value,
   System.bool hastime
) 
C++/CLI 
public:
static System.array<byte>^ GetBytes( 
   System.DateTime value,
   System.bool hastime
) 

Parameters

value
hastime

Requirements

Target Platforms: 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

© 2014 Data Techniques, Inc. All Rights Reserved.