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





value
addnull

Glossary Item Box

Converts the given ascii string to an array of bytes optionally adding a null terminator.

Syntax

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

Parameters

value
addnull

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.